home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Information / THINK C Digest / 1994 / 94-06 < prev    next >
Text File  |  1995-12-31  |  225KB  |  6,006 lines

  1. Archive THINK-C/MESSAGES, file 94-06.
  2. Part 1/1, total size 222472 bytes:
  3.  
  4. ------------------------------ Cut here ------------------------------
  5. >From gurgle@netcom.com 1 Jun 94 02:25:45 GMT
  6. Path: ucivax!gateway
  7. From: gurgle@netcom.com (Pete Gontier)
  8. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  9. Message-ID: <9405311925.aa24997@q2.ics.uci.edu>
  10. In-Reply-To: <9405310921.aa21128@q2.ics.uci.edu> from "Mark D. Nagel" at May 31, 94 04:21:53 pm
  11. X-Mailer: ELM [version 2.4 PL23]
  12. Content-Transfer-Encoding: 7bit
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Length: 1801
  15. MIME-Version: 1.0
  16. Newsgroups: fa.think-c
  17. X-Message-ID: <199406010225.TAA16887@netcom.com>
  18. Approved: usenet@q2.ics.uci.edu
  19. Lines: 33
  20. Date: 1 Jun 94 02:25:45 GMT
  21.  
  22. > Currently, this list is chartered to discuss THINK C and Symantec
  23. > C++ compilers and associated issues. It should certainly continue to
  24. > do so, but with the introduction of CodeWarrior, I wonder whether it
  25. > would be a good idea to expand the charter to discuss that as well.
  26. > I know that my next compiler purchase will be from Metrowerks and
  27. > I imagine that is true for many others on this list. On the other
  28. > hand, there probably already is a list for CodeWarrior, so it would be
  29. > redundant to overlap with that lists discussions.
  30.  
  31. Yes, there is another list and, not surprisingly, it's a lot more
  32. active. I say "not surprisingly" only because CodeWarrior is a new
  33. product, not because of any perception on my part of how large
  34. the list's membership is or what that might mean for Symantec.
  35. Interested parties should send email (any message will do) to
  36. 'cwarrior-request@netcom.com' for more info.
  37.  
  38. One thing I would like to point out about the focus of this list as
  39. compared to the other list is that the other list seems more focused on
  40. problems having to do specifically with CodeWarrior as a development
  41. environment. I'm not sure how they achieve this. The think-c list,
  42. on the other hand, seems to stray pretty far from its nominal topic
  43. and into Macintosh programming topics which would be better placed
  44. on Macintosh programming mailing lists or comp.sys.mac.programmer. I
  45. admit I am part of the problem, because I sometimes answer such queries
  46. with real answers instead of meta-discussion about what's appropriate
  47. material to be posting to this list. However, I still wish those topics
  48. could go elsewhere; perhaps people have ideas about how to encourage
  49. this.
  50.  
  51. --
  52.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  53.  
  54.  Microsoft Windows: like putting lipstick on a chicken.
  55. >From ld11@tower.york.ac.uk 1 Jun 94 07:59:09 GMT
  56. Path: ucivax!gateway
  57. From: ld11@tower.york.ac.uk (Lindsay Davies)
  58. Subject: Re: using Gestalt to get system version
  59. Message-ID: <9406010059.aa08446@q2.ics.uci.edu>
  60. Newsgroups: fa.think-c
  61. X-Message-ID: <9406010800.AA22819@tower.york.ac.uk>
  62. Reply-To: Lindsay Davies <ld11@unix.york.ac.uk>
  63. Approved: usenet@q2.ics.uci.edu
  64. Lines: 40
  65. Date: 1 Jun 94 07:59:09 GMT
  66.  
  67. In message <9405311508.aa12837@q2.ics.uci.edu> Markus Waldorf writes:
  68. > Hi,
  69. >
  70. >         I assume a Gestalt call is a good way to obtain the version
  71. > of the current system software. Can someone please provide me some
  72. > info? Thanks!
  73. >
  74.  
  75. Markus -
  76.  
  77.  
  78. You need something like this routine which checks for system 7 or later.
  79.  
  80.  
  81.     Boolean checkSys7(void)
  82.     {
  83.         long        result;
  84.  
  85.         Gestalt(gestaltSystemVersion, &result);
  86.         return (result >= 0x0700) ? TRUE : FALSE;
  87.     }
  88.  
  89.  
  90. Regards -
  91.  
  92.  
  93. Lindsay
  94.  
  95. =======================================================================
  96.     Lindsay Davies          ____                ______ __     ______
  97.     Dept. of Psychology    / __ \ _____ __  __ / ____// /    / ____/
  98.     University of York    / /_/ // ___// / / // /    / /    / __/
  99.     York, Y01 5DD        / ____/(__  )/ /_/ // /___ / /___ / /___
  100.     Tel: 0904 433138    /_/    /____/ \__, / \____//_____//_____/
  101.                                      /____/     P r o j e c t
  102.  ---------------------------------------------------------------------
  103.          http://ctipsych.york.ac.uk/Psycle/PsyCLEInfo.html
  104. =======================================================================
  105.  
  106.  
  107. >From Donal.Tobin@cs.tcd.ie 1 Jun 94 10:32:45 GMT
  108. Path: ucivax!gateway
  109. From: Donal.Tobin@cs.tcd.ie (Donal Tobin)
  110. Subject: Re: EDS-7.0.2 - CNFG problem, the clue(?)
  111. Message-ID: <9406010332.aa13332@q2.ics.uci.edu>
  112. In-reply-to: Your message of "31 May 94 19:51:43 GMT." <9405311251.aa04075@q2.ics.uci.edu>
  113. Newsgroups: fa.think-c
  114. X-Message-ID: <9406010332.aa13332@q2.ics.uci.edu>
  115. Approved: usenet@q2.ics.uci.edu
  116. Lines: 22
  117. X-Mts: smtp
  118. Date: 1 Jun 94 10:32:45 GMT
  119.  
  120. Hi all,
  121.         to get the ThinkC patch to install you need to have an unaltered copy
  122. of the CNFG resource. This can be done by copying the first resource on top of
  123. the second, this is not gauranteed to work so take the neccessary precaution
  124. of making a copy of the ThinkC translator before doing any alteration.
  125. Anybody have any problems with the TPM after doing this update, like not being
  126. able to quit or close projects ?
  127.  
  128. Sl/an,
  129.         Donal.
  130.  
  131. o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o
  132. | Donal.Tobin@cs.tcd.ie |                                When you |
  133. | +353-01-702-1797      |  get carried away by enthusiasm you may |
  134. |                       |  be lucky if you can hitch-hike it back |
  135. o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o
  136. | Computer Architechture Group     Department of Computer Science |
  137. | F34 O'Reilly Institute           Trinity College Dublin Ireland |
  138. o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o
  139. <A HREF=
  140. "http://www.cs.tcd.ie/www/detobin/detobin.html"
  141. >Click here :-)</A>
  142. >From Lance.Helsten@m.cc.utah.edu 1 Jun 94 15:01:29 GMT
  143. Path: ucivax!gateway
  144. From: Lance.Helsten@m.cc.utah.edu (Lance Helsten)
  145. Subject: Re: HLock/HUnlock ?
  146. Message-ID: <9406010801.aa04935@q2.ics.uci.edu>
  147. In-Reply-To: <9405280526.aa14524@q2.ics.uci.edu>
  148. Content-Type: TEXT/PLAIN; charset=US-ASCII
  149. MIME-Version: 1.0
  150. Newsgroups: fa.think-c
  151. X-Message-ID: <Pine.3.07.9406010813.B25136-b100000@u.cc.utah.edu>
  152. Approved: usenet@q2.ics.uci.edu
  153. Lines: 29
  154. Date: 1 Jun 94 15:01:29 GMT
  155.  
  156. > Remember, handles are pointers to pointers. If you ever want to singly
  157. > dereference a handle, make sure you lock it first!
  158. >
  159. >                            "Macintosh C Programming Primer, Vol. 1"
  160. >
  161. >
  162. > For instance: HLock( (Handle)iconHandle );
  163. >               HUnlock( (Handle)iconHandle );
  164. >
  165. >
  166. > English is not my native language, perhaps that's why I don't know
  167. > what "singly dereference" means. Could someone please give me a further
  168. > explanation? Many Thanks!
  169.  
  170. Singly dereference should really be dereference (since dereference is
  171. assumed to be singly done :). As to locking the handle when dereferenceing
  172. that is a matter of choice. The only time it is critical to lock a handle
  173. is when memory could move (durring calls that allocate/purge memory). If
  174. you are in a tight loop where no system calls are made you are perfectly
  175. safe to deref without locking, on many system calls it is OK not to lock,
  176. but be carefull and know what moves memory. Also, if the block will be
  177. locked for a while then move it into hi memory LockHHi will do the trick
  178. and keep the heap unfragmented a bit (I wax poetic :).
  179.  
  180. But when in doubt lock it down.
  181.  
  182. Lance
  183.  
  184.  
  185. >From Lance.Helsten@m.cc.utah.edu 1 Jun 94 15:03:12 GMT
  186. Path: ucivax!gateway
  187. From: Lance.Helsten@m.cc.utah.edu (Lance Helsten)
  188. Subject: Re: Probs with 7.0 code generation...
  189. Message-ID: <9406010803.aa05043@q2.ics.uci.edu>
  190. In-Reply-To: <9405280813.aa17302@q2.ics.uci.edu>
  191. Content-Type: TEXT/PLAIN; charset=US-ASCII
  192. MIME-Version: 1.0
  193. Newsgroups: fa.think-c
  194. X-Message-ID: <Pine.3.07.9406010920.C25136-a100000@u.cc.utah.edu>
  195. Approved: usenet@q2.ics.uci.edu
  196. Lines: 22
  197. Date: 1 Jun 94 15:03:12 GMT
  198.  
  199. > I have been trying to get this thing to spit out the right code for the
  200. > last 4 days. I have consistantly fail.  The code is simple and looks like
  201. > the following:
  202. >
  203. > Session->paramblock.startParam.ioCompletion = (ProcPtr) OpenSessionCallback;
  204. >
  205. > Fortunately, MOST of the code seems to be correct. It comes out as:
  206. >
  207. >         LEA OpenSessionCallBack,A0
  208. >
  209. > What is weird is that it generates the correct offset (EA), but tries to
  210. > address it off of A5 instead of the PC. Has anyone else had this prob and
  211. > do they have a solution? This is really annoying.
  212. >
  213.  
  214. It appears that the offset being loaded is the entry in the jump-table.
  215. That is to ensure that the segment holding this ProcPtr will be loaded
  216. when it is called.
  217.  
  218. Lance
  219.  
  220.  
  221. >From Lance.Helsten@m.cc.utah.edu 1 Jun 94 15:13:29 GMT
  222. Path: ucivax!gateway
  223. From: Lance.Helsten@m.cc.utah.edu (Lance Helsten)
  224. Subject: Re: using Gestalt to get system version
  225. Message-ID: <9406010813.aa05632@q2.ics.uci.edu>
  226. In-Reply-To: <9405311508.aa12837@q2.ics.uci.edu>
  227. Content-Type: TEXT/PLAIN; charset=US-ASCII
  228. MIME-Version: 1.0
  229. Newsgroups: fa.think-c
  230. X-Message-ID: <Pine.3.07.9406010943.H25136-9100000@u.cc.utah.edu>
  231. Approved: usenet@q2.ics.uci.edu
  232. Lines: 10
  233. Date: 1 Jun 94 15:13:29 GMT
  234.  
  235. >         I assume a Gestalt call is a good way to obtain the version
  236. > of the current system software. Can someone please provide me some
  237. > info? Thanks!
  238.  
  239. Old Inside Mac IV has all the Gestalt stuff. The New IM has it but I can't
  240. remember which volume (<--uses the developer CD for IM).
  241.  
  242. Lance
  243.  
  244.  
  245. >From Lance.Helsten@m.cc.utah.edu 1 Jun 94 15:15:59 GMT
  246. Path: ucivax!gateway
  247. From: Lance.Helsten@m.cc.utah.edu (Lance Helsten)
  248. Subject: Re: KeyMap and codes
  249. Message-ID: <9406010815.aa05818@q2.ics.uci.edu>
  250. In-Reply-To: <9405311529.aa14260@q2.ics.uci.edu>
  251. Content-Type: TEXT/PLAIN; charset=US-ASCII
  252. MIME-Version: 1.0
  253. Newsgroups: fa.think-c
  254. X-Message-ID: <Pine.3.07.9406010904.I25136-a100000@u.cc.utah.edu>
  255. Approved: usenet@q2.ics.uci.edu
  256. Lines: 27
  257. Date: 1 Jun 94 15:15:59 GMT
  258.  
  259. > So far it's clear, but one thing that I don understand (not sure) is,
  260. > why the Shift key is Hex 38. According to ASCII, this is "8".
  261. >
  262. >
  263. > KeyMap  keys;                   // defined in <Events.h>
  264. >
  265. > /*
  266. >         typedef long KeyMap[4]<->16 byte binary map of key states.
  267. >         The 16 keys bytes are in left to right order but the bits are
  268. >         in right to left order in each byte.
  269. >
  270. >         The Shift key is 0x38 which is decimal 56 and dividing by 8
  271. >         (56/8=7) means it's bit is in the 7th byte which is the rightmost
  272. >         byte of keys[1] and is the rightmost bit in that byte
  273. >         (56/8=7 remainder 0).
  274. > */
  275. >
  276.  
  277. The key map and ASCII are two totally different creatures. The key map is
  278. the mac keyboard mapping table--which is different in French than in
  279. English. The event mgr will translate the key map into the Roman (ASCII)
  280. table and set the modifier flags so you will know if the shift key is
  281. down.
  282.  
  283. Lance
  284.  
  285.  
  286. >From JeffC@cc.snow.edu 1 Jun 94 15:24:19 GMT
  287. Path: ucivax!gateway
  288. From: JeffC@cc.snow.edu ("Jeffrey K. Carney")
  289. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  290. Message-ID: <9406010824.aa06286@q2.ics.uci.edu>
  291. Content-Type: text/plain; charset="us-ascii"
  292. Mime-Version: 1.0
  293. Newsgroups: fa.think-c
  294. X-Message-ID: <9406010824.aa06286@q2.ics.uci.edu>
  295. Approved: usenet@q2.ics.uci.edu
  296. Lines: 22
  297. Date: 1 Jun 94 15:24:19 GMT
  298.  
  299. >>The think-c list,
  300. >>on the other hand, seems to stray pretty far from its nominal topic
  301. >>and into Macintosh programming topics which would be better placed
  302. >>on Macintosh programming mailing lists or comp.sys.mac.programmer. I
  303. >>admit I am part of the problem, because I sometimes answer such queries
  304. >>with real answers instead of meta-discussion about what's appropriate
  305. >>material to be posting to this list. However, I still wish those topics
  306. >>could go elsewhere; perhaps people have ideas about how to encourage
  307. >>this.
  308.  
  309.  
  310. Wow!  I've been on this list for a year or so and never realized its focus
  311. was meant to be as narrow as you suggest.  Please provide suggestions of
  312. other lists that *do* focus on more general mac programming issues, as well
  313. as instructions for subscribing.
  314.  
  315. On the other hand, should this list be so specific?  Maybe now would be an
  316. ideal time to reconsider the focus?
  317.  
  318. Jeff
  319.  
  320.  
  321. >From waldorfm@admina.rferl.org 1 Jun 94 21:24:40 GMT
  322. Path: ucivax!gateway
  323. From: waldorfm@admina.rferl.org (Markus Waldorf)
  324. Subject: How does it work (was KeyMap and codes)
  325. Content-transfer-encoding: 7BIT
  326. X-Message-ID: <01HD1NFDUB5U90O7PQ@AdminA.RFERL.Org>
  327. Approved: usenet@q2.ics.uci.edu
  328. Lines: 60
  329. Date-warning: Date header was inserted by AdminA.RFERL.Org
  330. Date: 1 Jun 94 21:24:40 GMT
  331. X-Sender: waldorfm@muvaxb.rferl.org
  332. Message-ID: <9406011424.aa26318@q2.ics.uci.edu>
  333. Content-type: text/plain; charset="us-ascii"
  334. MIME-version: 1.0
  335. Newsgroups: fa.think-c
  336.  
  337. Many thanks to all who replied so far! Sorry, if I start bothering
  338. again with this question, which is probably rather general computer
  339. related. Either I still don't understand - than I'm just too stupid,
  340. or my question was not clear enough.
  341.  
  342. > KeyMap  keys;                   // defined in <Events.h>
  343. >
  344. > /*
  345. >         typedef long KeyMap[4]<->16 byte binary map of key states.
  346. >         The 16 keys bytes are in left to right order but the bits are
  347. >         in right to left order in each byte.
  348. >
  349. >         The Shift key is 0x38 which is decimal 56 and dividing by 8
  350. >         (56/8=7) means it's bit is in the 7th byte which is the rightmost
  351. >         byte of keys[1] and is the rightmost bit in that byte
  352. >         (56/8=7 remainder 0).
  353. > */
  354.  
  355. Perhaps you know these DEC VT terminals. There, the SHIFT KEY DOES NOT
  356. TRANSMIT A CODE. As with the Control key, it is uses with other keys.
  357.  
  358. Code Table (DEC VT terminals)
  359.  
  360. 000 - 031                7 bit VT control characters
  361. 032 - 127                7 bit characters (ASCII)
  362. 128 - 159                8 bit VT control characters
  363. 160 - 255                8 bit characters (Graphics)
  364.  
  365. In national mode the codes 033 - 126 are remaped by the ROM.
  366. I assume the KCHR resource is somehow similar, except that it
  367. allows a wider range to be changed. However, there's no specific
  368. code for the Shfit, Control or Compose key. At this point I don't
  369. know, at what level the conjunctions with those special keys are
  370. being recognized. Hardware or System Kernel?
  371.  
  372. If I was asked to find a way how to check which special key was
  373. used, I would ask the person to give me two characters: One with
  374. and one without the odd key down, like:
  375.  
  376. s S      ->  Shift key down
  377. s XOFF   ->  Control key down
  378.  
  379. (Well, I wouldn't be surprised if there was a more intelligent way!)
  380.  
  381. Maybe the Mac does it totally different like other computers.
  382. But still, and this was my actual question: If the Shfit key
  383. scans as hex 38, how does the computer know that it is not the
  384. character "8" or whatever is mapped to it.
  385.  
  386. Thanks!
  387.  
  388. --------------------------------------------------------------------------
  389.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  390.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  391.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  392.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  393. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  394. --------------------------------------------------------------------------
  395.  
  396.  
  397. >From waldorfm@admina.rferl.org 1 Jun 94 21:24:53 GMT
  398. Path: ucivax!gateway
  399. From: waldorfm@admina.rferl.org (Markus Waldorf)
  400. Subject: How does it work (was KeyMap and codes)
  401. Content-transfer-encoding: 7BIT
  402. X-Message-ID: <01HD1NFKQRZS90O7PQ@AdminA.RFERL.Org>
  403. Approved: usenet@q2.ics.uci.edu
  404. Lines: 60
  405. Date-warning: Date header was inserted by AdminA.RFERL.Org
  406. Date: 1 Jun 94 21:24:53 GMT
  407. X-Sender: waldorfm@muvaxb.rferl.org
  408. Message-ID: <9406011424.aa26342@q2.ics.uci.edu>
  409. Content-type: text/plain; charset="us-ascii"
  410. MIME-version: 1.0
  411. Newsgroups: fa.think-c
  412.  
  413. Many thanks to all who replied so far! Sorry, if I start bothering
  414. again with this question, which is probably rather general computer
  415. related. Either I still don't understand - than I'm just too stupid,
  416. or my question was not clear enough.
  417.  
  418. > KeyMap  keys;                   // defined in <Events.h>
  419. >
  420. > /*
  421. >         typedef long KeyMap[4]<->16 byte binary map of key states.
  422. >         The 16 keys bytes are in left to right order but the bits are
  423. >         in right to left order in each byte.
  424. >
  425. >         The Shift key is 0x38 which is decimal 56 and dividing by 8
  426. >         (56/8=7) means it's bit is in the 7th byte which is the rightmost
  427. >         byte of keys[1] and is the rightmost bit in that byte
  428. >         (56/8=7 remainder 0).
  429. > */
  430.  
  431. Perhaps you know these DEC VT terminals. There, the SHIFT KEY DOES NOT
  432. TRANSMIT A CODE. As with the Control key, it is uses with other keys.
  433.  
  434. Code Table (DEC VT terminals)
  435.  
  436. 000 - 031                7 bit VT control characters
  437. 032 - 127                7 bit characters (ASCII)
  438. 128 - 159                8 bit VT control characters
  439. 160 - 255                8 bit characters (Graphics)
  440.  
  441. In national mode the codes 033 - 126 are remaped by the ROM.
  442. I assume the KCHR resource is somehow similar, except that it
  443. allows a wider range to be changed. However, there's no specific
  444. code for the Shfit, Control or Compose key. At this point I don't
  445. know, at what level the conjunctions with those special keys are
  446. being recognized. Hardware or System Kernel?
  447.  
  448. If I was asked to find a way how to check which special key was
  449. used, I would ask the person to give me two characters: One with
  450. and one without the odd key down, like:
  451.  
  452. s S      ->  Shift key down
  453. s XOFF   ->  Control key down
  454.  
  455. (Well, I wouldn't be surprised if there was a more intelligent way!)
  456.  
  457. Maybe the Mac does it totally different like other computers.
  458. But still, and this was my actual question: If the Shfit key
  459. scans as hex 38, how does the computer know that it is not the
  460. character "8" or whatever is mapped to it.
  461.  
  462. Thanks!
  463.  
  464. --------------------------------------------------------------------------
  465.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  466.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  467.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  468.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  469. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  470. --------------------------------------------------------------------------
  471.  
  472.  
  473. >From sm3@evansville.edu 1 Jun 94 22:40:10 GMT
  474. Path: ucivax!gateway
  475. From: sm3@evansville.edu (Steve Madancy)
  476. Subject: Re: ADMIN: list future
  477. Message-ID: <9406011540.aa00364@q2.ics.uci.edu>
  478. In-Reply-To: <9406010824.aa06286@q2.ics.uci.edu>
  479. Content-Type: TEXT/PLAIN; charset=US-ASCII
  480. MIME-Version: 1.0
  481. Newsgroups: fa.think-c
  482. X-Message-ID: <Pine.3.89.9406011723.A14003-0100000@uenics.evansville.edu>
  483. Approved: usenet@q2.ics.uci.edu
  484. Lines: 19
  485. Date: 1 Jun 94 22:40:10 GMT
  486.  
  487. On 1 Jun 1994, Jeffrey K. Carney wrote:
  488.  
  489. >
  490. > Wow!  I've been on this list for a year or so and never realized its focus
  491. > was meant to be as narrow as you suggest.  Please provide suggestions of
  492. > other lists that *do* focus on more general mac programming issues, as well
  493. > as instructions for subscribing.
  494. >
  495. > On the other hand, should this list be so specific?  Maybe now would be an
  496. > ideal time to reconsider the focus?
  497. >
  498. I've been on the list for the last year or so, and have been very happy
  499. with the content and quality of this list. I think it ain't broke, so we
  500. probably shouldn't try to fix it.
  501.  
  502. ----------------------------
  503. Steve Madancy
  504. sm3@evansville.edu
  505.  
  506. >From mxmora@unix.sri.com 1 Jun 94 22:49:50 GMT
  507. Path: ucivax!gateway
  508. From: mxmora@unix.sri.com (Matthew Xavier Mora)
  509. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  510. Message-ID: <9406011549.aa01176@q2.ics.uci.edu>
  511. Content-Type: text/plain; charset="us-ascii"
  512. Mime-Version: 1.0
  513. Newsgroups: fa.think-c
  514. X-Message-ID: <9406012251.AA28680@unix.sri.com>
  515. Approved: usenet@q2.ics.uci.edu
  516. Lines: 36
  517. Date: 1 Jun 94 22:49:50 GMT
  518.  
  519.  
  520. >Wow!  I've been on this list for a year or so and never realized its focus
  521. >was meant to be as narrow as you suggest.  Please provide suggestions of
  522. >other lists that *do* focus on more general mac programming issues, as well
  523. >as instructions for subscribing.
  524. >
  525. >On the other hand, should this list be so specific?  Maybe now would be an
  526. >ideal time to reconsider the focus?
  527.  
  528. This list became the catch all mac programming group since most people were
  529. using Think C at the time. Now that Metrowerks is in the picture its
  530. no longer a given that you're programming in Think C. So your general
  531. Mac programming question should go to c.s.m.programmer and not to this list.
  532. It will be seen by more people and will have a better chance of being answered.
  533. I for one am no longer keeping up with this list because I'm on the
  534. metrowerks mail list and I'm concentrating on that enviroment. I'm sure
  535. others are doing the same.
  536.  
  537.  
  538. Though I still do peek into this list if I have free time. :-)
  539.  
  540.  
  541.  
  542. Xavier
  543.  
  544.  
  545. __________________________________________________________________
  546. Matthew Xavier Mora  (cybernaut)            The keeper of the UMPG
  547. SRI International                              mxmora@unix.sri.com
  548. [Sent using Eudora 2.0.2       ]              Matt_Mora@QM.sri.com
  549. [Using my brand new 8100/80av !]
  550.  "Thanks to Apple Computers, it's Bitchin what these things can
  551.   do." Tori Amos
  552. __________________________________________________________________
  553.  
  554.  
  555. >From de19@umail.umd.edu 1 Jun 94 23:25:37 GMT
  556. Path: ucivax!gateway
  557. From: de19@umail.umd.edu (Dana S Emery)
  558. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  559. Message-ID: <9406011625.aa04128@q2.ics.uci.edu>
  560. In-Reply-To: Your message <9406010824.aa06286@q2.ics.uci.edu> of 1 Jun 94
  561.  15:24:19 GMT
  562. Content-Type: TEXT/plain; charset=US-ASCII
  563. Newsgroups: fa.think-c
  564. X-Message-ID: <Mailstrom.1.05.37152.9528.de19@umailsrv0.umd.edu>
  565. Approved: usenet@q2.ics.uci.edu
  566. Lines: 18
  567. Date: 1 Jun 94 23:25:37 GMT
  568.  
  569. >   Please provide suggestions of other lists that *do*
  570. >   focus on more general mac programming issues, as well as
  571. >   instructions for subscribing.
  572.  
  573. unfortunatly there are no _mailing-lists_ with that focus,
  574. and given the amount of traffic on c.s.m.p it is unlikely that
  575. any sane person would attempt to start one.  Mailing lists work
  576. well when given a tight focus and a critical mass of readers, but
  577. too many readers makes the admin's job a hell of bounced mail
  578. messages and other nastys.
  579.  
  580. There are numerous bulletin boards (AOL, Compu$erve..) and the
  581. comp.sys.mac.programming usenet news group, but not all of us
  582. have access to any of these, which is the major reason for both
  583. the drift and the tolerance of it.
  584. --
  585. dana s emery <de19@umail.umd.edu>
  586.  
  587. >From gurgle@netcom.com 2 Jun 94 02:58:28 GMT
  588. Path: ucivax!gateway
  589. From: gurgle@netcom.com (Pete Gontier)
  590. Subject: Mac programming mailing list
  591. Message-ID: <9406011958.aa13172@q2.ics.uci.edu>
  592. X-Mailer: ELM [version 2.4 PL23]
  593. Content-Transfer-Encoding: 7bit
  594. Content-Type: text/plain; charset=US-ASCII
  595. Content-Length: 886
  596. MIME-Version: 1.0
  597. Newsgroups: fa.think-c
  598. X-Message-ID: <199406020238.TAA09178@netcom.com>
  599. Approved: usenet@q2.ics.uci.edu
  600. Lines: 16
  601. Date: 2 Jun 94 02:58:28 GMT
  602.  
  603. The real source of Macintosh programming info on the internet is the
  604. Usenet newsgroup 'comp.sys.mac.programmer'. But not everybody gets that.
  605. A good mailing list on which to discuss general Mac programming info
  606. can be reached at 'mac-develop-request@cc.umanitoba.ca'. I realize some
  607. people are comfortable with discussing Mac programming issues on this
  608. list to the extent that they are surprised such topics are not the focus
  609. of the list. I hope Our Fearless Leader will clarify the policy and tell
  610. us whether it will be enforced and how.
  611.  
  612. --
  613.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  614.  
  615.  'It seems the firm contracted by Intel to produce the famed "flying
  616.  Pentium" ads could not complete the 3-D modeling on a PC before
  617.  deadline. So in the best know-your-enemy tradition, they chose the next
  618.  best thing -- a Quadra 840AV.'                 -- Mac The Knife 4/18/94
  619. >From gurgle@netcom.com 2 Jun 94 03:01:27 GMT
  620. Path: ucivax!gateway
  621. From: gurgle@netcom.com (Pete Gontier)
  622. Subject: Re: using Gestalt to get system version
  623. Message-ID: <9406012001.aa13322@q2.ics.uci.edu>
  624. In-Reply-To: <9406010059.aa08446@q2.ics.uci.edu> from "Lindsay Davies" at Jun 1, 94 07:59:09 am
  625. X-Mailer: ELM [version 2.4 PL23]
  626. Content-Transfer-Encoding: 7bit
  627. Content-Type: text/plain; charset=US-ASCII
  628. Content-Length: 1418
  629. MIME-Version: 1.0
  630. Newsgroups: fa.think-c
  631. X-Message-ID: <199406020233.TAA08528@netcom.com>
  632. Approved: usenet@q2.ics.uci.edu
  633. Lines: 29
  634. Date: 2 Jun 94 03:01:27 GMT
  635.  
  636. > > I assume a Gestalt call is a good way to obtain the version
  637. > > of the current system software. Can someone please provide me some
  638. > > info? Thanks!
  639. >
  640. > You need something like this routine which checks for system 7 or later.
  641. >
  642. >     Boolean checkSys7(void)
  643. >     ....
  644.  
  645. While this seems to be a fine routine from an implementation
  646. standpoint (although a comment about the Gestalt glue and #define
  647. SystemSevenOrLater wouldn't hurt), I have to wonder about the thought
  648. process behind it. Someone asks for information on how to determine the
  649. system version using Gestalt, and the response seems to assume that
  650. the goal must be to test for System 7 or later. The problem is that
  651. testing for System 7 doesn't get you anything unless you like to play
  652. it fast and loose with supported functionality. Gestalt was designed to
  653. allow programs to determine what specific functionality is available.
  654. Testing for System 7 is not a sufficient test, as some functionality is
  655. not present in any particular version of the System. Using Gestalt to
  656. obviate tests for specific functionality is at best perverse and ironic,
  657. and at worst will cause a crash.
  658.  
  659. --
  660.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  661.  
  662.  '"We believe the customer goes to retail stores to buy Microsoft
  663.  software," said Ed Belleba, director of retail strategy at Microsoft.'
  664.                                                      -- MacWEEK 4/18/94
  665. >From GomollD@aol.com 2 Jun 94 03:25:41 GMT
  666. Path: ucivax!gateway
  667. From: GomollD@aol.com
  668. Subject: INIT Icons...
  669. Message-ID: <9406012025.aa14214@q2.ics.uci.edu>
  670. X-Mailer: America Online Mailer
  671. Newsgroups: fa.think-c
  672. X-Message-ID: <9406012325.tn728578@aol.com>
  673. Approved: usenet@q2.ics.uci.edu
  674. Lines: 22
  675. Date: 2 Jun 94 03:25:41 GMT
  676.  
  677. I'm sure an experienced programmer can answer this one without even writing a
  678. flow chart....
  679.  
  680. I wrote an extention that works exactly as I need it to.  It does not,
  681. however, display the Icon at startup at the bottom of the screen.  The icon
  682. itself is defined correctly.  When looking at it through the finder, the Icon
  683. appears correctly
  684.  
  685. I assume there is some simple code to remidy this(?)
  686.  
  687. Also...
  688.  
  689. I am looking for a way to make a folder invisible (besides using ResEdit).  I
  690. can make a file invisible using the FSpGetFInfo / FSpSetFInfo.  When I try to
  691. do it with a folder I get a -43 (file not found) error.  The FSSpecRec is
  692. defined correctly with no problems.  Do I need to use the PB version of this
  693. call to get it to work?
  694.  
  695. Thanks in advance!
  696.  
  697. -GomollD@aol.com
  698.  
  699. >From gurgle@netcom.com 2 Jun 94 05:12:02 GMT
  700. Path: ucivax!gateway
  701. From: gurgle@netcom.com (Pete Gontier)
  702. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  703. Message-ID: <9406012212.aa17747@q2.ics.uci.edu>
  704. In-Reply-To: <9406011625.aa04128@q2.ics.uci.edu> from "Dana S Emery" at Jun 1, 94 11:25:37 pm
  705. X-Mailer: ELM [version 2.4 PL23]
  706. Content-Transfer-Encoding: 7bit
  707. Content-Type: text/plain; charset=US-ASCII
  708. Content-Length: 923
  709. MIME-Version: 1.0
  710. Newsgroups: fa.think-c
  711. X-Message-ID: <199406020511.WAA07893@netcom.com>
  712. Approved: usenet@q2.ics.uci.edu
  713. Lines: 23
  714. Date: 2 Jun 94 05:12:02 GMT
  715.  
  716. > >   Please provide suggestions of other lists that *do* focus on
  717. > >   more general mac programming issues, as well as instructions for
  718. > >   subscribing.
  719. >
  720. > unfortunatly there are no _mailing-lists_ with that focus...
  721.  
  722. Not true, as I posted earlier. There are at least two. They are not
  723. widely used, but one is more alive than the other; I named the more-live
  724. one.
  725.  
  726. > and given the amount of traffic on c.s.m.p it is unlikely that any
  727. > sane person would attempt to start one. Mailing lists work well when
  728. > given a tight focus and a critical mass of readers, but too many
  729. > readers makes the admin's job a hell of bounced mail messages and
  730. > other nastys.
  731.  
  732. I've run a couple of mailing lists in my day, and while it's true that
  733. it can be a hassle, these days the BS processing is mostly automated.
  734.  
  735. --
  736.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  737.  
  738.  "...where they burn books, people are next." -- XTC
  739. >From TPZ4@vm.cnuce.cnr.it 2 Jun 94 06:34:58 GMT
  740. Path: ucivax!gateway
  741. From: TPZ4@vm.cnuce.cnr.it (Rodolfo Cardarelli)
  742. Subject: Debugger won't work
  743. Message-ID: <9406012334.aa20554@q2.ics.uci.edu>
  744. Newsgroups: fa.think-c
  745. X-Message-ID: <9406012334.aa20554@q2.ics.uci.edu>
  746. Approved: usenet@q2.ics.uci.edu
  747. Lines: 20
  748. Date: 2 Jun 94 06:34:58 GMT
  749.  
  750. I upgraded to TC 7.0 via free upgrade. I did (I checked several times)
  751. everything was suggested in the documentation: I patched my Project Managaer,
  752. the Debugger, updated the libraries, etc.etc.
  753. Now the problem: the debugger doesn't work| Everythime I select "Use Debugger"
  754. and I try to run, the computer hangs inbetween launching and quitting: no
  755. menus, watch cursor and no sign of life, just a low activity of the hard disk.
  756. I have to force quit to return to TPM, and the "resume" menu item is on.
  757. When I resume, I simply return to the situation before running debugger.
  758. I would really appreciate any help, because I cannot use my TC without the
  759. debugger| The 6.0 version, and the 6.0.1 upgrade were working correctly.
  760. I tried to restart without INITs: no way.
  761. My TC environment is installed on a syquest cartridge, if that means anything.
  762. My system is:
  763. MAC LC 10 MByte RAM - 80 Mbyte HD + syquest
  764. System software Z1-7.0.1
  765. Think C Project Manager 7.0
  766. Think Debugger 7.0
  767.  
  768. Thank you very much in advance for any suggestions
  769. Rodolfo
  770. >From at@setanta.demon.co.uk 2 Jun 94 10:36:40 GMT
  771. Path: ucivax!gateway
  772. From: at@setanta.demon.co.uk (Amrik Thethi)
  773. Subject: Re: INIT Icons...
  774. Message-ID: <9406020336.aa28294@q2.ics.uci.edu>
  775. Newsgroups: fa.think-c
  776. X-Message-ID: <9406021030.AA18090@setanta.demon.co.uk>
  777. Approved: usenet@q2.ics.uci.edu
  778. Lines: 26
  779. Date: 2 Jun 94 10:36:40 GMT
  780.  
  781. > I wrote an extention that works exactly as I need it to.  It does not,
  782. > however, display the Icon at startup at the bottom of the screen.  The icon
  783. > itself is defined correctly.  When looking at it through the finder, the Icon
  784. > appears correctly
  785. >
  786. > I assume there is some simple code to remidy this(?)
  787.  
  788. Yes, you can roll your own or you can use the ShowINIT code, which is
  789. on most archives (try ftp.apple.com). All you have to do is draw the icons,
  790. it will do the rest at startup.
  791.  
  792. > Also...
  793. >
  794. > I am looking for a way to make a folder invisible (besides using ResEdit).  I
  795. > can make a file invisible using the FSpGetFInfo / FSpSetFInfo.  When I try to
  796. > do it with a folder I get a -43 (file not found) error.  The FSSpecRec is
  797. > defined correctly with no problems.  Do I need to use the PB version of this
  798. > call to get it to work?
  799. >
  800. Sorry can't help you there without more info.
  801. --
  802. Amrik Thethi.                   Tel. +223 421 008 Fax. +223 421 024
  803. Setanta Software Ltd.           Internet: at@setanta.demon.co.uk
  804. Cambridge, UK.
  805.  
  806.  
  807. >From Mhteas@aol.com 2 Jun 94 10:49:45 GMT
  808. Path: ucivax!gateway
  809. From: Mhteas@aol.com
  810. Subject: Re: ADMIN: list future
  811. Message-ID: <9406020349.aa28709@q2.ics.uci.edu>
  812. X-Mailer: America Online Mailer
  813. Newsgroups: fa.think-c
  814. X-Message-ID: <9406020649.tn740643@aol.com>
  815. Approved: usenet@q2.ics.uci.edu
  816. Lines: 20
  817. Date: 2 Jun 94 10:49:45 GMT
  818.  
  819. Mark asks:
  820.  
  821. >Currently, this list is
  822. >chartered to discuss THINK C and Symantec C++ compilers and
  823. >associated issues.  It should certainly continue to do so, but >with
  824. >the introduction of CodeWarrior, I wonder whether it would be a >good
  825. >idea to expand the charter to discuss that as well.
  826.  
  827. I believe that this is a good idea.  But, as Mark suggests, we shouldn't
  828. tread on another list.  Does anyone *know* of a Code Warrior list?  If
  829. there's not one, then in makes sense to expand this one.
  830.  
  831. I think that MPW is too different in the dev. environment to adopt into this
  832. list however.  It should remain a list for integrated environments.
  833.  
  834. Malcolm Teas
  835. "Relax, it's only ones and zeros..."
  836. Teas Technology - Custom software for the Mac and Newton.
  837. Internet: "mhteas@aol.com" AppleLink or AOL: "mhteas"
  838.  
  839. >From Mhteas@aol.com 2 Jun 94 10:49:52 GMT
  840. Path: ucivax!gateway
  841. From: Mhteas@aol.com
  842. Subject: Re: Chooser name - where is it
  843. Message-ID: <9406020349.aa28724@q2.ics.uci.edu>
  844. X-Mailer: America Online Mailer
  845. Newsgroups: fa.think-c
  846. X-Message-ID: <9406020649.tn740646@aol.com>
  847. Approved: usenet@q2.ics.uci.edu
  848. Lines: 19
  849. Date: 2 Jun 94 10:49:52 GMT
  850.  
  851. I don't remember seeing Lindsay get the answer, so here it is.
  852.  
  853. You can find the choose name with the following statements:
  854.  
  855. StringHandle nameHdl;
  856.  
  857. nameHdl = GetString (-16096);
  858.  
  859. The system resource file must be in your resource file path because STR
  860. id=-16096 is in the system file.  (It will be in your path unless you're
  861. changing the path by opening or closing res files.)  This returns the chooser
  862. name, or on a System 7 machine, the owner name set in the Sharing Setup
  863. control panel.  It's a string handle that's returned.
  864.  
  865. Malcolm Teas
  866. "Relax, it's only ones and zeros..."
  867. Teas Technology - Custom software for the Mac and Newton.
  868. Internet: "mhteas@aol.com" AppleLink or AOL: "mhteas"
  869.  
  870. >From waldorfm@admina.rferl.org 2 Jun 94 12:04:46 GMT
  871. Path: ucivax!gateway
  872. From: waldorfm@admina.rferl.org (Markus Waldorf)
  873. Subject: Re: INIT Icons...
  874. Content-transfer-encoding: 7BIT
  875. X-Message-ID: <01HD2I3P6WMA90PR2L@AdminA.RFERL.Org>
  876. Approved: usenet@q2.ics.uci.edu
  877. Lines: 23
  878. Date-warning: Date header was inserted by AdminA.RFERL.Org
  879. Date: 2 Jun 94 12:04:46 GMT
  880. X-Sender: waldorfm@muvaxb.rferl.org
  881. Message-ID: <9406020504.aa14546@q2.ics.uci.edu>
  882. Content-type: text/plain; charset="us-ascii"
  883. MIME-version: 1.0
  884. Newsgroups: fa.think-c
  885.  
  886.  
  887. >I'm sure an experienced programmer can answer this one without even writing a
  888. >flow chart....
  889. >
  890. >I wrote an extention that works exactly as I need it to.  It does not,
  891. >however, display the Icon at startup at the bottom of the screen.  The icon
  892. >itself is defined correctly.  When looking at it through the finder, the Icon
  893. >appears correctly
  894. >
  895. >I assume there is some simple code to remidy this(?)
  896.  
  897. I have some easy to implement sample source code (ThinkC) which will show specified Icon resources at startup. I cannot remember where I got it from, but I could send you the files. Let me now what format you can handle.
  898.  
  899.  
  900. --------------------------------------------------------------------------
  901.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  902.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  903.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  904.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  905. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  906. --------------------------------------------------------------------------
  907.  
  908.  
  909. >From waldorfm@admina.rferl.org 2 Jun 94 12:32:26 GMT
  910. Path: ucivax!gateway
  911. From: waldorfm@admina.rferl.org (Markus Waldorf)
  912. Subject: I appreciate this list
  913. X-Sender: waldorfm@muvaxb.rferl.org
  914. Message-ID: <9406020532.aa15421@q2.ics.uci.edu>
  915. Content-transfer-encoding: 7BIT
  916. Content-type: text/plain; charset="us-ascii"
  917. MIME-version: 1.0
  918. Newsgroups: fa.think-c
  919. X-Message-ID: <01HD2J349OMA90POU6@AdminA.RFERL.Org>
  920. Approved: usenet@q2.ics.uci.edu
  921. Date-warning: Date header was inserted by AdminA.RFERL.Org
  922. Lines: 35
  923. Date: 2 Jun 94 12:32:26 GMT
  924.  
  925. >The real source of Macintosh programming info on the internet is the
  926. >Usenet newsgroup 'comp.sys.mac.programmer'. But not everybody gets that.
  927. >A good mailing list on which to discuss general Mac programming info
  928. >can be reached at 'mac-develop-request@cc.umanitoba.ca'. I realize some
  929. >people are comfortable with discussing Mac programming issues on this
  930. >list to the extent that they are surprised such topics are not the focus
  931. >of the list. I hope Our Fearless Leader will clarify the policy and tell
  932. >us whether it will be enforced and how.
  933. >
  934. >--
  935. > Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  936. >
  937. > 'It seems the firm contracted by Intel to produce the famed "flying
  938. > Pentium" ads could not complete the 3-D modeling on a PC before
  939. > deadline. So in the best know-your-enemy tradition, they chose the next
  940. > best thing -- a Quadra 840AV.'                 -- Mac The Knife 4/18/94
  941.  
  942. I'm new to this list, and I am for sure one of the persons who asked and
  943. perhaps will ask more or less general Mac programming related topics. I
  944. really appreciate the list as it appears so far. I personally don't mind
  945. to receive all kinds of questions and comments. If I can tell from the
  946. subject that a message doesn't interest me, than I hit the Delete key.
  947. However, I am not looking for flames, and if its in the general interest,
  948. I would be very happy to move somewhere else. I would rather not want
  949. to spend very much time on whether or not I should dare to ask a question.
  950.  
  951. --------------------------------------------------------------------------
  952.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  953.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  954.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  955.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  956. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  957. --------------------------------------------------------------------------
  958.  
  959.  
  960. >From waldorfm@admina.rferl.org 2 Jun 94 13:06:45 GMT
  961. Path: ucivax!gateway
  962. From: waldorfm@admina.rferl.org (Markus Waldorf)
  963. Subject: RE: using Gestalt to get system version
  964. X-Sender: waldorfm@muvaxb.rferl.org
  965. Message-ID: <9406020606.aa15992@q2.ics.uci.edu>
  966. Content-transfer-encoding: 7BIT
  967. Content-type: text/plain; charset="us-ascii"
  968. MIME-version: 1.0
  969. Newsgroups: fa.think-c
  970. X-Message-ID: <01HD2KAXKGOY90PPGC@AdminA.RFERL.Org>
  971. Approved: usenet@q2.ics.uci.edu
  972. Date-warning: Date header was inserted by AdminA.RFERL.Org
  973. Lines: 52
  974. Date: 2 Jun 94 13:06:45 GMT
  975.  
  976. >> > I assume a Gestalt call is a good way to obtain the version
  977. >> > of the current system software. Can someone please provide me some
  978. >> > info? Thanks!
  979. >>
  980. >> You need something like this routine which checks for system 7 or later.
  981. >>
  982. >>     Boolean checkSys7(void)
  983. >>     ....
  984. >
  985. >While this seems to be a fine routine from an implementation
  986. >standpoint (although a comment about the Gestalt glue and #define
  987. >SystemSevenOrLater wouldn't hurt), I have to wonder about the thought
  988. >process behind it. Someone asks for information on how to determine the
  989. >system version using Gestalt, and the response seems to assume that
  990. >the goal must be to test for System 7 or later. The problem is that
  991. >testing for System 7 doesn't get you anything unless you like to play
  992. >it fast and loose with supported functionality. Gestalt was designed to
  993. >allow programs to determine what specific functionality is available.
  994. >Testing for System 7 is not a sufficient test, as some functionality is
  995. >not present in any particular version of the System. Using Gestalt to
  996. >obviate tests for specific functionality is at best perverse and ironic,
  997. >and at worst will cause a crash.
  998. >
  999.  
  1000. It me again, who asked the question. Here's is why I though using
  1001. Gestalt would be a good way to obtain the current system version.
  1002.  
  1003. "If the Gestalt function is available, you should use it instead of
  1004. the SysEnvirons and Environs routines. You can use the Gestalt function
  1005. to determine whether the features your application requires are present
  1006. on a particular Macintosh computer. You should not rely on the ROM
  1007. version, since later system software versions can override routines in
  1008. ROM.
  1009.                 (Preface: The System Software Environment, IM VI)
  1010.  
  1011. I don't want to criticize the above reply! A crash is certainly not
  1012. what I want. Let's just share information.
  1013.  
  1014. I'm looking for an easy way to make sure a code resource is only
  1015. loaded if at least System 7 is present. Further suggestions?
  1016.  
  1017. Thanks!
  1018.  
  1019. --------------------------------------------------------------------------
  1020.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  1021.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  1022.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  1023.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  1024. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  1025. --------------------------------------------------------------------------
  1026.  
  1027.  
  1028. >From JeffC@cc.snow.edu 2 Jun 94 13:08:19 GMT
  1029. Path: ucivax!gateway
  1030. From: JeffC@cc.snow.edu ("Jeffrey K. Carney")
  1031. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  1032. Message-ID: <9406020608.aa16047@q2.ics.uci.edu>
  1033. Content-Type: text/plain; charset="us-ascii"
  1034. Mime-Version: 1.0
  1035. Newsgroups: fa.think-c
  1036. X-Message-ID: <9406020608.aa16047@q2.ics.uci.edu>
  1037. Approved: usenet@q2.ics.uci.edu
  1038. Lines: 21
  1039. Date: 2 Jun 94 13:08:19 GMT
  1040.  
  1041. >There are numerous bulletin boards (AOL, Compu$erve..) and the
  1042. >comp.sys.mac.programming usenet news group, but not all of us
  1043. >have access to any of these, which is the major reason for both
  1044. >the drift and the tolerance of it.
  1045.  
  1046. If this is indeed the case, and if folks have generally been tolerant or
  1047. even happy with the drift into more general (non-compiler-specific)
  1048. questions about programming in "C" on the Mac (why bring in Pascal?) then
  1049. maybe this list is still the best place to do what it's already been doing,
  1050. not in theory but in practice.  Compared to some lists I've been on,
  1051. traffic on this one is still pretty light; if it drifts but remains helpful
  1052. for some (not to mention the many lurkers), then as someone else said, if
  1053. it ain't broke, why fix it?
  1054.  
  1055. On the other hand, if we OPENLY agree to generalize the purpose, then
  1056. perhaps we could acknowledge that by renaming the list?  (Just a thought;
  1057. don't bite ...)
  1058.  
  1059. Jeff
  1060.  
  1061.  
  1062. >From waldorfm@admina.rferl.org 2 Jun 94 13:15:12 GMT
  1063. Path: ucivax!gateway
  1064. From: waldorfm@admina.rferl.org (Markus Waldorf)
  1065. Subject: Re: Debugger won't work
  1066. X-Sender: waldorfm@muvaxb.rferl.org
  1067. Message-ID: <9406020615.aa16225@q2.ics.uci.edu>
  1068. Content-transfer-encoding: 7BIT
  1069. Content-type: text/plain; charset="us-ascii"
  1070. MIME-version: 1.0
  1071. Newsgroups: fa.think-c
  1072. X-Message-ID: <01HD2KKWR8ZM90PNWP@AdminA.RFERL.Org>
  1073. Approved: usenet@q2.ics.uci.edu
  1074. Date-warning: Date header was inserted by AdminA.RFERL.Org
  1075. Lines: 38
  1076. Date: 2 Jun 94 13:15:12 GMT
  1077.  
  1078. >I upgraded to TC 7.0 via free upgrade. I did (I checked several times)
  1079. >everything was suggested in the documentation: I patched my Project Managaer,
  1080. >the Debugger, updated the libraries, etc.etc.
  1081. >Now the problem: the debugger doesn't work| Everythime I select "Use Debugger"
  1082. >and I try to run, the computer hangs inbetween launching and quitting: no
  1083. >menus, watch cursor and no sign of life, just a low activity of the hard disk.
  1084. >I have to force quit to return to TPM, and the "resume" menu item is on.
  1085. >When I resume, I simply return to the situation before running debugger.
  1086. >I would really appreciate any help, because I cannot use my TC without the
  1087. >debugger| The 6.0 version, and the 6.0.1 upgrade were working correctly.
  1088. >I tried to restart without INITs: no way.
  1089. >My TC environment is installed on a syquest cartridge, if that means anything.
  1090. >My system is:
  1091. >MAC LC 10 MByte RAM - 80 Mbyte HD + syquest
  1092. >System software Z1-7.0.1
  1093. >Think C Project Manager 7.0
  1094. >Think Debugger 7.0
  1095. >
  1096. >Thank you very much in advance for any suggestions
  1097. >Rodolfo
  1098.  
  1099. I had the same problem. I also upgraded to System 7 Pro at that time.
  1100. If finally turned out that it was not the system, but I had forgotten
  1101. to apply the patch to the TPM (Project Manager). However, you're using
  1102. the international 7.0.1. We've totally removed it in our company.
  1103. But perhaps your TPM is corrupted. Did you run Disk First Aid etc.,
  1104. before applying the patch?
  1105.  
  1106.  
  1107. --------------------------------------------------------------------------
  1108.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  1109.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  1110.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  1111.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  1112. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  1113. --------------------------------------------------------------------------
  1114.  
  1115.  
  1116. >From machale@bistromath.mitre.org 2 Jun 94 18:21:29 GMT
  1117. Path: ucivax!gateway
  1118. From: machale@bistromath.mitre.org (MacFarland Hale)
  1119. Subject: Re: ADMIN: list future
  1120. Message-ID: <9406021121.aa01884@q2.ics.uci.edu>
  1121. Content-Type: text/plain; charset="us-ascii"
  1122. Mime-Version: 1.0
  1123. Newsgroups: fa.think-c
  1124. Posted-from: The MITRE Corporation, Bedford, MA
  1125. X-Message-ID: <9406021820.AA13223@bistromath.mitre.org>
  1126. Approved: usenet@q2.ics.uci.edu
  1127. Lines: 13
  1128. Date: 2 Jun 94 18:21:29 GMT
  1129.  
  1130. >I think that MPW is too different in the dev. environment to adopt into this
  1131. >list however.  It should remain a list for integrated environments.
  1132.  
  1133. Can anyone point me to an MPW mail list?
  1134.  
  1135. ........................................................................
  1136.   MacFarland Hale                machale@mitre.org
  1137.   The MITRE Corporation          (617) 271-3703, FAX (617) 271-2352
  1138.   202 Burlington Road, MS K331   "All opinions are my own - but feel
  1139.   Bedford, MA  01730-1420  USA      free to share them if you like..."
  1140. ........................................................................
  1141.  
  1142.  
  1143. >From larry@rhythm.com 3 Jun 94 07:57:01 GMT
  1144. Path: ucivax!gateway
  1145. From: larry@rhythm.com (Larry Weinberg)
  1146. Subject: Re:  Debugger won't work
  1147. Message-ID: <9406030057.aa06617@q2.ics.uci.edu>
  1148. Newsgroups: fa.think-c
  1149. X-Message-ID: <9406030756.AA19472@rhythm.com>
  1150. Approved: usenet@q2.ics.uci.edu
  1151. Lines: 13
  1152. Date: 3 Jun 94 07:57:01 GMT
  1153.  
  1154. This sort of happened to me and what I found was a segment that
  1155. was just larger than the 32 K limit, and the TPM was in an infinite
  1156. loop trying to shuffle files into other segments. It never moved
  1157. anything, just kept trying
  1158.  
  1159. When I moved a single source file to another segment, everything
  1160. worked fine.   I hope this is your problem too.
  1161.  
  1162. Larry
  1163. Larry Weinberg                          Rhythm & Hues, Inc.
  1164. INTERNET:   larry@rhythm.com
  1165. We can't all, and some of us don't.  That's all there is to it.  -- Eeyore
  1166.  
  1167. >From TPZ4@vm.cnuce.cnr.it 3 Jun 94 12:04:31 GMT
  1168. Path: ucivax!gateway
  1169. From: TPZ4@vm.cnuce.cnr.it (Rodolfo Cardarelli)
  1170. Subject: Now debugger works...|
  1171. Message-ID: <9406030504.aa26664@q2.ics.uci.edu>
  1172. Newsgroups: fa.think-c
  1173. X-Message-ID: <9406030504.aa26664@q2.ics.uci.edu>
  1174. Approved: usenet@q2.ics.uci.edu
  1175. Lines: 6
  1176. Date: 3 Jun 94 12:04:31 GMT
  1177.  
  1178. Thank to all who answered, and especially Marco Sandri and Rick Hartmann.
  1179. The problem was in the SIZE resource, that the finder modifies, adding
  1180. SIZE 0 and 1. Removing those two resources solves the problem.
  1181. The explanation was in a file that was on sumex, but not in the same package
  1182. as the upgrade.
  1183. Thanx again - Rodolfo
  1184. >From rsg@camtwh.eric.on.ca 3 Jun 94 12:32:09 GMT
  1185. Path: ucivax!gateway
  1186. From: rsg@camtwh.eric.on.ca (Reuben Gellman)
  1187. Subject: "Floating" window
  1188. Message-ID: <9406030532.aa27498@q2.ics.uci.edu>
  1189. X-Mailer: ELM [version 2.4 PL22]
  1190. Content-Transfer-Encoding: 7bit
  1191. Content-Type: text/plain; charset=US-ASCII
  1192. Content-Length: 592
  1193. MIME-Version: 1.0
  1194. Newsgroups: fa.think-c
  1195. X-Message-ID: <94Jun3.083304edt.28919@camtwh.eric.on.ca>
  1196. Approved: usenet@q2.ics.uci.edu
  1197. Lines: 13
  1198. Date: 3 Jun 94 12:32:09 GMT
  1199.  
  1200. I want to create one of those neat lil windows that stays on top of
  1201. all the others, come what may (commonly used in "tool" windows in
  1202. paint & draw apps). Closest I can come is a ref to something called
  1203. "GhostWindow", which is just an address, in IM 1. This is absent from the new IM
  1204. (at least Toolbox Essentials), and is presented with dire warnings in Think
  1205. Ref. Two questions: (1) How does one use the darn thing: IM implies that one
  1206. needs to do assembly lang progs, which I don't know; (2) is there a new,
  1207. improved, safe, simple way to implement this?
  1208.  
  1209. Thx
  1210. Reuben Gellman
  1211. rsg@eric.on.ca
  1212.  
  1213. >From jcaufiel@cln.etc.bc.ca 3 Jun 94 14:46:52 GMT
  1214. Path: ucivax!gateway
  1215. From: jcaufiel@cln.etc.bc.ca (Brent Taylor)
  1216. Subject: Re: I appreciate this list
  1217. Message-ID: <9406030746.aa01088@q2.ics.uci.edu>
  1218. Newsgroups: fa.think-c
  1219. X-Message-ID: <9406031451.AA02348@cln.etc.bc.ca>
  1220. Approved: usenet@q2.ics.uci.edu
  1221. Lines: 16
  1222. Date: 3 Jun 94 14:46:52 GMT
  1223.  
  1224. >I'm new to this list, and I am for sure one of the persons who asked and
  1225. >perhaps will ask more or less general Mac programming related topics. I
  1226. >really appreciate the list as it appears so far. I personally don't mind
  1227. >to receive all kinds of questions and comments. If I can tell from the
  1228. >subject that a message doesn't interest me, than I hit the Delete key.
  1229. >However, I am not looking for flames, and if its in the general interest,
  1230. >I would be very happy to move somewhere else. I would rather not want
  1231. >to spend very much time on whether or not I should dare to ask a question.
  1232.  
  1233. Ditto.
  1234.  
  1235. __________________________________________________________________________
  1236. Brent Taylor, Computer Science / Math Teacher         Phone: (604)865-4674
  1237. Elkford Secondary School                                Fax: (604)865-2915
  1238. Box 910, Elkford, BC, Canada  V0B 1H0               jcaufiel@cln.etc.bc.ca
  1239.  
  1240. >From Lance.Helsten@m.cc.utah.edu 3 Jun 94 16:08:17 GMT
  1241. Path: ucivax!gateway
  1242. From: Lance.Helsten@m.cc.utah.edu (Lance Helsten)
  1243. Subject: Re: using Gestalt to get system version
  1244. Message-ID: <9406030908.aa04586@q2.ics.uci.edu>
  1245. In-Reply-To: <9406012001.aa13322@q2.ics.uci.edu>
  1246. Content-Type: TEXT/PLAIN; charset=US-ASCII
  1247. MIME-Version: 1.0
  1248. Newsgroups: fa.think-c
  1249. X-Message-ID: <Pine.3.07.9406030908.H13155-9100000@u.cc.utah.edu>
  1250. Approved: usenet@q2.ics.uci.edu
  1251. Lines: 11
  1252. Date: 3 Jun 94 16:08:17 GMT
  1253.  
  1254. > it fast and loose with supported functionality. Gestalt was designed to
  1255. > allow programs to determine what specific functionality is available.
  1256. > Testing for System 7 is not a sufficient test, as some functionality is
  1257. > not present in any particular version of the System. Using Gestalt to
  1258.  
  1259. I agree, read IM on gestalt and it will tell you not to rely on system
  1260. versions as being an indication of what facitlities are available.
  1261.  
  1262. Lance
  1263.  
  1264.  
  1265. >From jcaufiel@cln.etc.bc.ca 3 Jun 94 17:03:18 GMT
  1266. Path: ucivax!gateway
  1267. From: jcaufiel@cln.etc.bc.ca (Brent Taylor)
  1268. Subject: Multiple Screen Depths
  1269. Message-ID: <9406031003.aa07275@q2.ics.uci.edu>
  1270. Newsgroups: fa.think-c
  1271. X-Message-ID: <9406031706.AA15461@cln.etc.bc.ca>
  1272. Approved: usenet@q2.ics.uci.edu
  1273. Lines: 16
  1274. Date: 3 Jun 94 17:03:18 GMT
  1275.  
  1276. Due to the nature of discussion which has recently taken place, I hesitate
  1277. to post this question.  However, this list is my only available resource,
  1278. so here goes...
  1279.  
  1280. I wish to use one routine to draw to screens of depth less than 4 and
  1281. another routine to draw to screens of any other depth.  In particular, I am
  1282. concerned about windows which span monitors of different depths.  Is this
  1283. possible?  If so, how?
  1284.  
  1285. Also, how can I call DragWindow() to draw windows anywhere within GrayRgn?
  1286.  
  1287. __________________________________________________________________________
  1288. Brent Taylor, Computer Science / Math Teacher         Phone: (604)865-4674
  1289. Elkford Secondary School                                Fax: (604)865-2915
  1290. Box 910, Elkford, BC, Canada  V0B 1H0               jcaufiel@cln.etc.bc.ca
  1291.  
  1292. >From gurgle@netcom.com 3 Jun 94 19:23:21 GMT
  1293. Path: ucivax!gateway
  1294. From: gurgle@netcom.com (Pete Gontier)
  1295. Subject: Re: ADMIN: list future
  1296. Message-ID: <9406031223.aa14772@q2.ics.uci.edu>
  1297. In-Reply-To: <9406020349.aa28709@q2.ics.uci.edu> from "Mhteas@aol.com" at Jun 2, 94 10:49:45 am
  1298. X-Mailer: ELM [version 2.4 PL23]
  1299. Content-Transfer-Encoding: 7bit
  1300. Content-Type: text/plain; charset=US-ASCII
  1301. Content-Length: 372
  1302. MIME-Version: 1.0
  1303. Newsgroups: fa.think-c
  1304. X-Message-ID: <199406031916.MAA06149@netcom14.netcom.com>
  1305. Approved: usenet@q2.ics.uci.edu
  1306. Lines: 11
  1307. Date: 3 Jun 94 19:23:21 GMT
  1308.  
  1309. > Does anyone *know* of a Code Warrior list? If there's not one, then in
  1310. > makes sense to expand this one.
  1311.  
  1312. Mail to 'cwarrior-request@netcom.com' for more info.
  1313.  
  1314. --
  1315.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1316.  
  1317.  C   credo: "Trust the programmer."
  1318.  C++ credo: "Put the muzzle of a shotgun in your mouth and
  1319.              give the programmer the trigger..."
  1320. >From gurgle@netcom.com 3 Jun 94 19:23:30 GMT
  1321. Path: ucivax!gateway
  1322. From: gurgle@netcom.com (Pete Gontier)
  1323. Subject: Re: I appreciate this list
  1324. Message-ID: <9406031223.aa14786@q2.ics.uci.edu>
  1325. In-Reply-To: <9406020532.aa15421@q2.ics.uci.edu> from "Markus Waldorf" at Jun 2, 94 12:32:26 pm
  1326. X-Mailer: ELM [version 2.4 PL23]
  1327. Content-Transfer-Encoding: 7bit
  1328. Content-Type: text/plain; charset=US-ASCII
  1329. Content-Length: 1322
  1330. MIME-Version: 1.0
  1331. Newsgroups: fa.think-c
  1332. X-Message-ID: <199406031919.MAA06878@netcom14.netcom.com>
  1333. Approved: usenet@q2.ics.uci.edu
  1334. Lines: 24
  1335. Date: 3 Jun 94 19:23:30 GMT
  1336.  
  1337. > I'm new to this list, and I am for sure one of the persons who
  1338. > asked and perhaps will ask more or less general Mac programming
  1339. > related topics. I really appreciate the list as it appears so far. I
  1340. > personally don't mind to receive all kinds of questions and comments.
  1341. > If I can tell from the subject that a message doesn't interest me,
  1342. > than I hit the Delete key. However, I am not looking for flames,
  1343. > and if its in the general interest, I would be very happy to move
  1344. > somewhere else. I would rather not want to spend very much time on
  1345. > whether or not I should dare to ask a question.
  1346.  
  1347. Certainly a mailing list will fail if its members are constantly
  1348. worrying about whether the material they want to post is appropriate.
  1349. On the other hand, that's one of the reasons why there are many mailing
  1350. lists. Allow me to suggest that rather than asking a mailing list to
  1351. accomodate all information, you should simply subscribe to more lists.
  1352. If a mailing list's subject matter isn't limited, one might as well
  1353. subscribe to *all* of them. :-)
  1354.  
  1355. --
  1356.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1357.  
  1358.  '"We believe the customer goes to retail stores to buy Microsoft
  1359.  software," said Ed Belleba, director of retail strategy at Microsoft.'
  1360.                                                      -- MacWEEK 4/18/94
  1361. >From gurgle@netcom.com 3 Jun 94 19:31:55 GMT
  1362. Path: ucivax!gateway
  1363. From: gurgle@netcom.com (Pete Gontier)
  1364. Subject: Re: using Gestalt to get system version
  1365. Message-ID: <9406031231.aa15169@q2.ics.uci.edu>
  1366. In-Reply-To: <9406020606.aa15992@q2.ics.uci.edu> from "Markus Waldorf" at Jun 2, 94 01:06:45 pm
  1367. X-Mailer: ELM [version 2.4 PL23]
  1368. Content-Transfer-Encoding: 7bit
  1369. Content-Type: text/plain; charset=US-ASCII
  1370. Content-Length: 2356
  1371. MIME-Version: 1.0
  1372. Newsgroups: fa.think-c
  1373. X-Message-ID: <199406031931.MAA10010@netcom14.netcom.com>
  1374. Approved: usenet@q2.ics.uci.edu
  1375. Lines: 45
  1376. Date: 3 Jun 94 19:31:55 GMT
  1377.  
  1378. >> The problem is that testing for System 7 doesn't get you anything
  1379. >> unless you like to play it fast and loose with supported
  1380. >> functionality. Gestalt was designed to allow programs to determine
  1381. >> what specific functionality is available. Testing for System 7 is not
  1382. >> a sufficient test...
  1383.  
  1384. > "If the Gestalt function is available, you should use it instead
  1385. > of the SysEnvirons and Environs routines. You can use the Gestalt
  1386. > function to determine whether the features your application requires
  1387.                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1388. > are present on a particular Macintosh computer. You should not rely
  1389. > on the ROM version, since later system software versions can override
  1390. > routines in ROM." (Preface: The System Software Environment, IM VI)
  1391.  
  1392. This discussion in OIM VI appears to be inadequate. Append the sentence:
  1393. "You should not rely on the System version, since some functionality
  1394. is provided regardless of the System version." For example, the
  1395. Communications Toolbox might be installed on a System 6 machine.
  1396.  
  1397. This is likely to be even more important as Apple ships different
  1398. components of functionality for different architectures. You wouldn't
  1399. want to make a PowerPC-only call simply because the System version
  1400. were 7.5, because System 7.5 will run on 68K-based machines as well as
  1401. PowerPC-based machines.
  1402.  
  1403. An astute reader pointed out to me in email that some specific things
  1404. cannot be detected via Gestalt. The example was the Picture Utilities,
  1405. for which the specific Inside Mac recommendation is to test for System
  1406. 7. However, testing for System 7 is still not a good general policy. Let
  1407. Inside Mac specify for you the special cases of when to test for System
  1408. 7 as opposed to using Gestalt to test for specific functionality.
  1409.  
  1410. > I'm looking for an easy way to make sure a code resource is only
  1411. > loaded if at least System 7 is present. Further suggestions?
  1412.  
  1413. We'd need more information about the code resource in question. What
  1414. functionality does it use?
  1415.  
  1416. --
  1417.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1418.  
  1419.  'It seems the firm contracted by Intel to produce the famed "flying
  1420.  Pentium" ads could not complete the 3-D modeling on a PC before
  1421.  deadline. So in the best know-your-enemy tradition, they chose the next
  1422.  best thing -- a Quadra 840AV.'                 -- Mac The Knife 4/18/94
  1423. >From gurgle@netcom.com 3 Jun 94 19:33:55 GMT
  1424. Path: ucivax!gateway
  1425. From: gurgle@netcom.com (Pete Gontier)
  1426. Subject: Re: ADMIN: list future
  1427. Message-ID: <9406031233.aa15381@q2.ics.uci.edu>
  1428. In-Reply-To: <9406021121.aa01884@q2.ics.uci.edu> from "MacFarland Hale" at Jun 2, 94 06:21:29 pm
  1429. X-Mailer: ELM [version 2.4 PL23]
  1430. Content-Transfer-Encoding: 7bit
  1431. Content-Type: text/plain; charset=US-ASCII
  1432. Content-Length: 606
  1433. MIME-Version: 1.0
  1434. Newsgroups: fa.think-c
  1435. X-Message-ID: <199406031933.MAA10852@netcom14.netcom.com>
  1436. Approved: usenet@q2.ics.uci.edu
  1437. Lines: 14
  1438. Date: 3 Jun 94 19:33:55 GMT
  1439.  
  1440. > >I think that MPW is too different in the dev. environment to adopt into this
  1441. > >list however.  It should remain a list for integrated environments.
  1442. >
  1443. > Can anyone point me to an MPW mail list?
  1444.  
  1445. I think not. However, if there is demand, I would be happy to start one.
  1446. We should confirm conclusively, of course, that none exists before I
  1447. take the trouble to create one. But as I learned in Philosophy, it is
  1448. very difficult to prove the non-existence of something. :-)
  1449.  
  1450. --
  1451.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1452.  
  1453.  Symantec C++ a "Bjarne Burner"? Yeah, I'd be pretty burned up, too!
  1454. >From gurgle@netcom.com 3 Jun 94 19:49:14 GMT
  1455. Path: ucivax!gateway
  1456. From: gurgle@netcom.com (Pete Gontier)
  1457. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  1458. Message-ID: <9406031249.aa16135@q2.ics.uci.edu>
  1459. In-Reply-To: <9406020608.aa16047@q2.ics.uci.edu> from "Jeffrey K. Carney" at Jun 2, 94 01:08:19 pm
  1460. X-Mailer: ELM [version 2.4 PL23]
  1461. Content-Transfer-Encoding: 7bit
  1462. Content-Type: text/plain; charset=US-ASCII
  1463. Content-Length: 2963
  1464. MIME-Version: 1.0
  1465. Newsgroups: fa.think-c
  1466. X-Message-ID: <199406031948.MAA14300@netcom14.netcom.com>
  1467. Approved: usenet@q2.ics.uci.edu
  1468. Lines: 57
  1469. Date: 3 Jun 94 19:49:14 GMT
  1470.  
  1471. > >There are numerous bulletin boards (AOL, Compu$erve..) and the
  1472. > >comp.sys.mac.programming usenet news group, but not all of us have
  1473. > >access to any of these, which is the major reason for both the drift
  1474. > >and the tolerance of it.
  1475. >
  1476. > If this is indeed the case, and if folks have generally been tolerant
  1477. > or even happy with the drift into more general (non-compiler-specific)
  1478. > questions about programming in "C" on the Mac (why bring in Pascal?)
  1479. > then maybe this list is still the best place to do what it's already
  1480. > been doing, not in theory but in practice.
  1481.  
  1482. I'm afraid you're missing the distinction I want to make. Many questions
  1483. posted here have nothing to do with C. Instead, they have to do with
  1484. programming the Macintosh in general, and there are already at least two
  1485. lists which cover this topic area.
  1486.  
  1487. If the errant posts were about C or C++ in general, as opposed to the
  1488. THINK C or Symantec C++ dialects of C and C++, I probably wouldn't be
  1489. of a mind to complain, because sometimes it's hard to tell whether a
  1490. problem is rooted in the language or a particular implementation of
  1491. that language. (Expecially in the case of Symantec C++...) It probably
  1492. also would not bother me if the errant posts were about programming the
  1493. Macintosh in C. But it goes one step further than that -- the errant
  1494. posts are about programming the Macintosh in general. In most cases
  1495. the code samples could readily be translated into Pascal or some other
  1496. language.
  1497.  
  1498. > Compared to some lists I've been on, traffic on this one is still
  1499. > pretty light; if it drifts but remains helpful for some (not to
  1500. > mention the many lurkers), then as someone else said, if it ain't
  1501. > broke, why fix it?
  1502.  
  1503. But that's exactly my point -- it's broke. It's not like I'm rabid
  1504. to see the Topic Police arrive and scare off all the general Mac
  1505. programming posters. But it so happens that I also subscribe to the
  1506. other mailing lists I have been mentioning in this thread, so it doesn't
  1507. make sense to me that topics I expect in one list appear in another.
  1508. It also doesn't make sense, if I may be so bold, that some people seem
  1509. reluctant to subscribe to these other lists instead of posting material
  1510. that belongs in other lists to this one. Subscribing to multiple lists
  1511. doesn't hurt; honest!
  1512.  
  1513. > On the other hand, if we OPENLY agree to generalize the purpose,
  1514. > then perhaps we could acknowledge that by renaming the list? (Just a
  1515. > thought; don't bite ...)
  1516.  
  1517. I suppose I might be in favor of a "programming the Mac in C" list, but
  1518. I have very little faith that it would suffer any less topic drift. I
  1519. would rather invest energy in attempting to improve mailing lists which
  1520. already exist, because creating another list won't reduce the amount of
  1521. energy that would need to be invested in order to figure out a way to
  1522. prevent topic drift in the new lists as well as the old.
  1523.  
  1524. --
  1525.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1526.  
  1527.  "...where they burn books, people are next." -- XTC
  1528. >From JeffC@cc.snow.edu 3 Jun 94 23:13:00 GMT
  1529. Path: ucivax!gateway
  1530. From: JeffC@cc.snow.edu ("Jeffrey K. Carney")
  1531. Subject: Re: ADMIN: list future
  1532. Message-ID: <9406031612.aa27645@q2.ics.uci.edu>
  1533. Content-Type: text/plain; charset="us-ascii"
  1534. Mime-Version: 1.0
  1535. Newsgroups: fa.think-c
  1536. X-Message-ID: <9406031612.aa27645@q2.ics.uci.edu>
  1537. Approved: usenet@q2.ics.uci.edu
  1538. Lines: 12
  1539. Date: 3 Jun 94 23:13:00 GMT
  1540.  
  1541. >> Does anyone *know* of a Code Warrior list? If there's not one, then in
  1542. >> makes sense to expand this one.
  1543. >
  1544. >Mail to 'cwarrior-request@netcom.com' for more info.
  1545.  
  1546. I know this is FAQ stuff, but I can never find the right FAQ when I want
  1547. it.  So:  when I e-mail to a request@xxx.xxx am I talking to a machine or a
  1548. person?  In short, what do I do?  (Sorry, Pete:-)
  1549.  
  1550. Jeff
  1551.  
  1552.  
  1553. >From dnebing@andy.bgsu.edu 4 Jun 94 05:08:45 GMT
  1554. Path: ucivax!gateway
  1555. From: dnebing@andy.bgsu.edu ("Mr. Neb")
  1556. Subject: Re: Multiple Screen Depths
  1557. Message-ID: <9406032208.aa07843@q2.ics.uci.edu>
  1558. Newsgroups: fa.think-c
  1559. X-Message-ID: <9406040508.AA08016@andy.bgsu.edu>
  1560. Approved: usenet@q2.ics.uci.edu
  1561. Lines: 5
  1562. Date: 4 Jun 94 05:08:45 GMT
  1563.  
  1564.  
  1565.  
  1566. ==s0 Iz* @-#Y1~"  z4
  1567. 0 Iz* @-#Y1~"  z4
  1568. 0 Iz* @-#Y1~"  z4
  1569. >From gurgle@netcom.com 4 Jun 94 05:48:42 GMT
  1570. Path: ucivax!gateway
  1571. From: gurgle@netcom.com (Pete Gontier)
  1572. Subject: Re: ADMIN: list future
  1573. Message-ID: <9406032248.aa08743@q2.ics.uci.edu>
  1574. In-Reply-To: <9406031612.aa27645@q2.ics.uci.edu> from "Jeffrey K. Carney" at Jun 3, 94 11:13:00 pm
  1575. X-Mailer: ELM [version 2.4 PL23]
  1576. Content-Transfer-Encoding: 7bit
  1577. Content-Type: text/plain; charset=US-ASCII
  1578. Content-Length: 1006
  1579. MIME-Version: 1.0
  1580. Newsgroups: fa.think-c
  1581. X-Message-ID: <199406040548.WAA08468@netcom.com>
  1582. Approved: usenet@q2.ics.uci.edu
  1583. Lines: 21
  1584. Date: 4 Jun 94 05:48:42 GMT
  1585.  
  1586. > >> Does anyone *know* of a Code Warrior list? If there's not one, then in
  1587. > >> makes sense to expand this one.
  1588. > >
  1589. > >Mail to 'cwarrior-request@netcom.com' for more info.
  1590. >
  1591. > I know this is FAQ stuff, but I can never find the right FAQ when I want
  1592. > it.  So:  when I e-mail to a request@xxx.xxx am I talking to a machine or a
  1593. > person?  In short, what do I do?  (Sorry, Pete:-)
  1594.  
  1595. You're talking to a machine, but you don't need to know what to tell it.
  1596. It will respond with the same reply no matter what you say. :-) I have
  1597. found that *-request@* addresses are pretty evenly distributed between
  1598. people and machines, so you weren't asking a stupid question.
  1599.  
  1600. --
  1601.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1602.  
  1603.  'It seems the firm contracted by Intel to produce the famed "flying
  1604.  Pentium" ads could not complete the 3-D modeling on a PC before
  1605.  deadline. So in the best know-your-enemy tradition, they chose the next
  1606.  best thing -- a Quadra 840AV.'                 -- Mac The Knife 4/18/94
  1607. >From de19@umail.umd.edu 4 Jun 94 15:52:55 GMT
  1608. Path: ucivax!gateway
  1609. From: de19@umail.umd.edu (Dana S Emery)
  1610. Subject: Re: ADMIN: list future
  1611. Message-ID: <9406040852.aa05775@q2.ics.uci.edu>
  1612. In-Reply-To: Your message <9406031249.aa16135@q2.ics.uci.edu> of 3 Jun 94
  1613.  19:49:14 GMT
  1614. Content-Type: TEXT/plain; charset=US-ASCII
  1615. Newsgroups: fa.think-c
  1616. X-Message-ID: <Mailstrom.1.05.7053.-3114.de19@umailsrv0.umd.edu>
  1617. Approved: usenet@q2.ics.uci.edu
  1618. Lines: 24
  1619. Date: 4 Jun 94 15:52:55 GMT
  1620.  
  1621. >   It also doesn't make sense, if I may be so bold, that
  1622. >   some people seem reluctant to subscribe to these other
  1623. >   lists instead of posting material that belongs in other
  1624. >   lists to this one. Subscribing to multiple lists doesn't
  1625. >   hurt; honest!
  1626.  
  1627. for some of the people here it does hurt, it costs $$$.
  1628. While that cost may be necessary, still, it shouldnt be glossed over.
  1629.  
  1630. Mind you I agree with your philosophy, narrow definitions
  1631. of what the allowable topics should be are preferable to
  1632. the AVERAGE user, they will improve the signal/noise ratio
  1633. and make the list more efficient.
  1634.  
  1635. Judging by your signature you probably have physical access
  1636. to your mail host, and it likely has considerable excess
  1637. capacity if it can suffer being a list-host as well, thus
  1638. your mail box has a lot more room than the typical home
  1639. user, so please dont project your solutions on the rest
  1640. of the members of this list, their conditions vary enough
  1641. from yours to legitimatly impact the choice of solutions.
  1642. --
  1643. dana s emery <de19@umail.umd.edu>
  1644.  
  1645. >From walrathw@rferl.org 4 Jun 94 17:54:16 GMT
  1646. Path: ucivax!gateway
  1647. From: walrathw@rferl.org (WalrathW)
  1648. Subject: RE: ADMIN: list future
  1649. Message-ID: <9406041054.aa07908@q2.ics.uci.edu>
  1650. Content-transfer-encoding: 7BIT
  1651. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  1652. Newsgroups: fa.think-c
  1653. X-Message-ID: <01HD5MYLZ25E8WXH7B@MUVAXA.RFERL.ORG>
  1654. Approved: usenet@q2.ics.uci.edu
  1655. Lines: 27
  1656. Date: 4 Jun 94 17:54:16 GMT
  1657.  
  1658. > Mind you I agree with your philosophy, narrow definitions
  1659. > of what the allowable topics should be are preferable to
  1660. > the AVERAGE user, they will improve the signal/noise ratio
  1661. > and make the list more efficient.
  1662. >
  1663. > Judging by your signature you probably have physical access
  1664. > to your mail host, and it likely has considerable excess
  1665. > capacity if it can suffer being a list-host as well, thus
  1666. > your mail box has a lot more room than the typical home
  1667. > user, so please dont project your solutions on the rest
  1668. > of the members of this list, their conditions vary enough
  1669. > from yours to legitimatly impact the choice of solutions.
  1670. > --
  1671. > dana s emery <de19@umail.umd.edu>
  1672.  
  1673. I personally don't feel that Pete is projecting unreasonable solutions on the
  1674. rest of the members of this list. His point is valid IMHO, in that the list was
  1675. started for the purpose of discussing questions pertaining to Symantec Think C.
  1676. If we don't attempt to maintain some sense of purpose in our discussion lists,
  1677. then what are we left with? We'll be talking about motorcycles on alt.rec.pets,
  1678. and MPW on comp.sys.next. Just because you or I or others may have an expensive
  1679. connection to the network, doesn't justify underminining a list's charter. If a
  1680. person's questions tend more towards general Mac programming topics, then
  1681. perhaps a different list would be more appropriate.
  1682.  
  1683.  
  1684. -wayne
  1685. >From JeffC@cc.snow.edu 4 Jun 94 19:00:15 GMT
  1686. Path: ucivax!gateway
  1687. From: JeffC@cc.snow.edu ("Jeffrey K. Carney")
  1688. Subject: RE: ADMIN: list future
  1689. Message-ID: <9406041200.aa09578@q2.ics.uci.edu>
  1690. Content-Type: text/plain; charset="us-ascii"
  1691. Mime-Version: 1.0
  1692. Newsgroups: fa.think-c
  1693. X-Message-ID: <9406041200.aa09578@q2.ics.uci.edu>
  1694. Approved: usenet@q2.ics.uci.edu
  1695. Lines: 31
  1696. Date: 4 Jun 94 19:00:15 GMT
  1697.  
  1698. >If we don't attempt to maintain some sense of purpose in our discussion lists,
  1699. >then what are we left with? We'll be talking about motorcycles on alt.rec.pets,
  1700. >and MPW on comp.sys.next.
  1701.  
  1702. This is of course a gross exaggeration.  (Next you'll be telling us that if
  1703. we don't stick to the exact charter the Red Brigade will march down Main
  1704. Street USA :-).  Of course the list will keep some sense of purpose.  The
  1705. only significant question is what that purpose should be.
  1706.  
  1707. >Just because you or I or others may have an expensive
  1708. >connection to the network, doesn't justify underminining a list's charter.
  1709.  
  1710. Undermine is a pretty loaded word.  Evolve is another accurate description
  1711. that carries a rather different feeling.  Apparently the list has already
  1712. changed; so much so, it would seem, that many who have subscribed in the
  1713. last year or so (like myself) were not even aware of the exact sense of the
  1714. original charter.  Indeed, one might suggest that during the last year the
  1715. actual purpose of the list has remained rather stable, if perhaps more
  1716. general than the original intent, and that in practice, if not in word, the
  1717. list's *defacto* charter has *already* changed.  I don't recall a single
  1718. poster suggesting that the content of our discussions should really change;
  1719. rather, it seems more a matter of openly admitting what we *already* are
  1720. and do.
  1721.  
  1722. As for the true charter: as I recall, this whole thread got started because
  1723. the list admin *invited* us to comment on possible changes, which we have
  1724. been doing.  Or do I recall this poorly?
  1725.  
  1726. Jeff
  1727.  
  1728.  
  1729. >From dnebing@andy.bgsu.edu 4 Jun 94 23:29:34 GMT
  1730. Path: ucivax!gateway
  1731. From: dnebing@andy.bgsu.edu ("Mr. Neb")
  1732. Subject: RE: ADMIN: list future
  1733. Message-ID: <9406041629.aa16506@q2.ics.uci.edu>
  1734. Newsgroups: fa.think-c
  1735. X-Message-ID: <9406042329.AA02459@andy.bgsu.edu>
  1736. Approved: usenet@q2.ics.uci.edu
  1737. Lines: 32
  1738. Date: 4 Jun 94 23:29:34 GMT
  1739.  
  1740.   Evolution is right!  For the longest time (that I can remember) there
  1741. were two places to post questions and expect a reasonable answer: c.s.m.p
  1742. and this list.  These two resources were the only ones of their kind, so
  1743. they got used pretty much.
  1744.  
  1745.   Besides, lest we forget for a long time it was either MPW or Think C, with
  1746. most dollar-conscious people opting for Think C.  So it became easy to think
  1747. that a general mac programming problem or a general C programming problem
  1748. was really a Think C programming problem whether it was or not.
  1749.  
  1750.   Lately there have been more resources that have opened up: the MacDevelop
  1751. mailing list (which gets much less traffic than this list), the
  1752. alt.sources.mac newsgroup and archive (tactless self-plug  ;-)
  1753. the code warrior list, better and newer FAQ postings, etc.  There are alot
  1754. more resources out there to choose from than, say, a yr and a half ago.
  1755.  
  1756.   My opinion is that the list doesn't really need changing.  Most of the
  1757. time questions coming across this list are either Think C/C++ related
  1758. or they border on whether or not they should be on the list.  Who is to
  1759. decide what goes where anyway?  People will post questions, etc., to
  1760. wherever they think that they will get the widest audience, regardless of
  1761. what the charter says.
  1762.  
  1763. Dave.
  1764.  
  1765. ============================================================
  1766. Dave Nebinger                    dnebing@andy.bgsu.edu
  1767. Network Manager, Biology Dept.   dnebing@opie.bgsu.edu
  1768. Bowling Green State University   dnebing@bgsuopie (bitnet)
  1769. Bowling Green, OH 43403          #include <std_disclaimer.h>
  1770.  
  1771.              *THE* alt.sources.mac supporter!
  1772. >From WK01739@worldlink.com 5 Jun 94 02:29:02 GMT
  1773. Path: ucivax!gateway
  1774. From: WK01739@worldlink.com (Bill MacIntosh)
  1775. Subject: Rotating a PICT
  1776. Message-ID: <9406041929.aa20002@q2.ics.uci.edu>
  1777. X-Mailer: InterCon WorldLink 2.0
  1778. Content-Type: text/plain; charset=US-ASCII
  1779. Mime-Version: 1.0
  1780. Newsgroups: fa.think-c
  1781. X-Message-ID: <9406041929.AA29520@worldlink.com>
  1782. Approved: usenet@q2.ics.uci.edu
  1783. Lines: 8
  1784. Date: 5 Jun 94 02:29:02 GMT
  1785.  
  1786. I want to draw lines using a string of repeating PICT's.  I've run into the
  1787. problem of rotating a PICT so that the line can be drawn in directions other
  1788. than horizontal.  How can I rotate a PICT?
  1789.  
  1790. Bill MacIntosh
  1791. WK01739@Worldlink.com
  1792.  
  1793.  
  1794. >From gurgle@netcom.com 5 Jun 94 02:53:42 GMT
  1795. Path: ucivax!gateway
  1796. From: gurgle@netcom.com (Pete Gontier)
  1797. Subject: Re: ADMIN: list future
  1798. Message-ID: <9406041953.aa20325@q2.ics.uci.edu>
  1799. In-Reply-To: <9406040852.aa05775@q2.ics.uci.edu> from "Dana S Emery" at Jun 4, 94 03:52:55 pm
  1800. X-Mailer: ELM [version 2.4 PL23]
  1801. Content-Transfer-Encoding: 7bit
  1802. Content-Type: text/plain; charset=US-ASCII
  1803. Content-Length: 2065
  1804. MIME-Version: 1.0
  1805. Newsgroups: fa.think-c
  1806. X-Message-ID: <199406050253.TAA16365@netcom.com>
  1807. Approved: usenet@q2.ics.uci.edu
  1808. Lines: 43
  1809. Date: 5 Jun 94 02:53:42 GMT
  1810.  
  1811. > >   It also doesn't make sense, if I may be so bold, that some
  1812. > >   people seem reluctant to subscribe to these other lists instead
  1813. > >   of posting material that belongs in other lists to this one.
  1814. > >   Subscribing to multiple lists doesn't hurt; honest!
  1815. >
  1816. > for some of the people here it does hurt, it costs $$$.
  1817.  
  1818. I think it's very unlikely that any host charges according to the number
  1819. of mailing lists to which an account is subscribed. Way too difficult to
  1820. enforce, even if it seemed desirable.
  1821.  
  1822. You could make the case that some people would end up paying more
  1823. subscribing to two lists simply because there would be more overall
  1824. traffic, but I think that's not a good analysis for a couple of reasons.
  1825. (1) Some people will unfairly pay more because there is more extraneous
  1826. traffic on the one list, (2) the traffic on the one list will tend
  1827. to migrate to the other list, and some balancing will occur, and the
  1828. overall traffic will tend to be equal.
  1829.  
  1830. > Judging by your signature you probably have physical access to your
  1831. > mail host, and it likely has considerable excess capacity if it can
  1832. > suffer being a list-host as well, thus your mail box has a lot more
  1833. > room than the typical home user...
  1834.  
  1835. Well, Netcom is adding about one fast UNIX box and one major
  1836. metropolitan area every month, so more and more I *am* the average user.
  1837. You will be assimilated. Resistance is futile. :-) Just for the record,
  1838. no, I don't have physical access to "my" machine, but I don't pay any
  1839. connect charges. And mailing lists can be regulated not to consume too
  1840. many cycles and they certainly don't consume much (permanent) disk
  1841. space.
  1842.  
  1843. > so please dont project your solutions on the rest of the members of
  1844. > this list, their conditions vary enough from yours to legitimatly
  1845. > impact the choice of solutions.
  1846.  
  1847. I don't think I am projecting anything. Groundlessly impugning my
  1848. personal psychology is hardly a productive way to conduct a discussion.
  1849.  
  1850. --
  1851.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1852.  
  1853.  Microsoft Windows: like putting lipstick on a chicken.
  1854. >From gurgle@netcom.com 5 Jun 94 03:16:23 GMT
  1855. Path: ucivax!gateway
  1856. From: gurgle@netcom.com (Pete Gontier)
  1857. Subject: Re: ADMIN: list future
  1858. Message-ID: <9406042016.aa20729@q2.ics.uci.edu>
  1859. In-Reply-To: <9406041200.aa09578@q2.ics.uci.edu> from "Jeffrey K. Carney" at Jun 4, 94 07:00:15 pm
  1860. X-Mailer: ELM [version 2.4 PL23]
  1861. Content-Transfer-Encoding: 7bit
  1862. Content-Type: text/plain; charset=US-ASCII
  1863. Content-Length: 1765
  1864. MIME-Version: 1.0
  1865. Newsgroups: fa.think-c
  1866. X-Message-ID: <199406050305.UAA17906@netcom.com>
  1867. Approved: usenet@q2.ics.uci.edu
  1868. Lines: 35
  1869. Date: 5 Jun 94 03:16:23 GMT
  1870.  
  1871. > Evolve is another accurate description that carries a rather different
  1872. > feeling. Apparently the list has already changed; so much so, it
  1873. > would seem, that many who have subscribed in the last year or so
  1874. > (like myself) were not even aware of the exact sense of the original
  1875. > charter.
  1876.  
  1877. I can't remember precisely, but I think in one guise or another have
  1878. I been subscribed to this list since the first announcement of its
  1879. existence. The list has always been rather fuzzy in terms of topic,
  1880. I'll grant that. However, the fact that it has taken me so long to
  1881. bother to complain about it may only mean I have what I perceive to be
  1882. better things to do most of the time than to have meta-discussions about
  1883. discussion groups. :-)
  1884.  
  1885. > I don't recall a single poster suggesting that the content of our
  1886. > discussions should really change; rather, it seems more a matter of
  1887. > openly admitting what we *already* are and do.
  1888.  
  1889. It so happens that the most active general Mac programming list
  1890. is losing its host quite soon and may no longer be accepting new
  1891. subscriptions because of that fact. I volunteered to take over running
  1892. it, but got no response. I would be all for a formal declaration that
  1893. this list is adopting the topic of general Mac programming. I would even
  1894. be willing to create a strict THINK C / Symantec C++ mailing list here
  1895. at Netcom, but I probably would not be willing to devote my personal
  1896. disk space to an archive.
  1897.  
  1898. This is all by way of saying that I think you are right when you say no
  1899. one here is interested in being the Topic Police. Perhaps somebody like
  1900. me is more interested in being the Mailing List Name Police.
  1901.  
  1902. --
  1903.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1904.  
  1905.  You thought Obfuscated C was confusing? Wait for Obfuscated C++!
  1906. >From gurgle@netcom.com 5 Jun 94 04:43:49 GMT
  1907. Path: ucivax!gateway
  1908. From: gurgle@netcom.com (Pete Gontier)
  1909. Subject: Re: ADMIN: list future
  1910. Message-ID: <9406042143.aa21945@q2.ics.uci.edu>
  1911. In-Reply-To: <9406041629.aa16506@q2.ics.uci.edu> from "Mr. Neb" at Jun 4, 94 11:29:34 pm
  1912. X-Mailer: ELM [version 2.4 PL23]
  1913. Content-Transfer-Encoding: 7bit
  1914. Content-Type: text/plain; charset=US-ASCII
  1915. Content-Length: 1153
  1916. MIME-Version: 1.0
  1917. Newsgroups: fa.think-c
  1918. X-Message-ID: <199406050443.VAA27927@netcom.com>
  1919. Approved: usenet@q2.ics.uci.edu
  1920. Lines: 27
  1921. Date: 5 Jun 94 04:43:49 GMT
  1922.  
  1923. > My opinion is that the list doesn't really need changing. Most of the
  1924. > time questions coming across this list are either Think C/C++ related
  1925. > or they border on whether or not they should be on the list.
  1926.  
  1927. It would be interesting to see statistics on this. I suspect this
  1928. generalization is not true. Disclaimer: I am assuming that simply
  1929. because a posting contains C code does not mean it adresses THINK C
  1930. issues or even C language issues. And the poster knows it.
  1931.  
  1932. > Who is to decide what goes where anyway?
  1933.  
  1934. Well, *we* are! :-) You and me and Nagle and everybody else. He asked us
  1935. to speak, so we are.
  1936.  
  1937. > People will post questions, etc., to wherever they think that they
  1938. > will get the widest audience, regardless of what the charter says.
  1939.  
  1940. Nobody is disagreeing with that completely. However, it's an
  1941. overgeneralization. If it were completely true, I'd be posting questions
  1942. on writing code for the Communications Toolbox to the 'alt.sex'
  1943. newsgroup.
  1944.  
  1945. --
  1946.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  1947.  
  1948.  "Bedrock does support a form of drag and drop. Development dragged on
  1949.  for about two years, and then was dropped." -- Brian Clark
  1950. >From de19@umail.umd.edu 5 Jun 94 14:47:26 GMT
  1951. Path: ucivax!gateway
  1952. From: de19@umail.umd.edu (Dana S Emery)
  1953. Subject: Re: ADMIN: list future
  1954. Message-ID: <9406050747.aa17700@q2.ics.uci.edu>
  1955. In-Reply-To: Your message <199406050253.TAA16365@netcom.com> of Sat, 4 Jun
  1956.  1994 19:53:36 -0700 (PDT)
  1957. Content-Type: TEXT/plain; charset=US-ASCII
  1958. Newsgroups: fa.think-c
  1959. X-Message-ID: <Mailstrom.1.05.23987.15089.de19@umailsrv0.umd.edu>
  1960. Approved: usenet@q2.ics.uci.edu
  1961. Lines: 58
  1962. Date: 5 Jun 94 14:47:26 GMT
  1963.  
  1964. >   I think it's very unlikely that any host charges
  1965. >   according to the number of mailing lists to which an
  1966. >   account is subscribed. Way too difficult to enforce,
  1967. >   even if it seemed desirable.
  1968.  
  1969. Agreed, but that is such a narrow view of the reality as to
  1970. be naive, we are talking about comercial enterprises here,
  1971. it is natural for the billing structure to reflect the
  1972. expected impact of an account, since Gigabyte capacity drives
  1973. arent free this generally includes file storage as well as
  1974. traffic, so a high volume of incoming mail will have a
  1975. monetary impact, forceing the user to avoid active groups
  1976. or resort to digests (when available).
  1977.  
  1978. >   I don't think I am projecting anything. Groundlessly
  1979. >   impugning my personal psychology is hardly a productive
  1980. >   way to conduct a discussion.
  1981.  
  1982. Hardly groundless, I stated my assumptions, you have been
  1983. arguing them, how can you think my statements groundless?
  1984. It is my opinion that you enjoy the luxery of dealing with
  1985. high-volume mail traffic, and that you were advocating that
  1986. the rest of us take action based on the presumption that
  1987. we all enjoyed the same luxery:
  1988.  
  1989. > >   Subscribing to multiple lists doesn't hurt; honest!
  1990.  
  1991. Which (for good or ill) I simply couldnt resist countering.
  1992.  
  1993. Probably should have done so in private mail, I hereby offer
  1994. the list an apology for not having done so.
  1995.  
  1996. Incidentaly, lest this get too hot, I did say:
  1997.  
  1998. >>> Mind you I agree with your philosophy, narrow definitions
  1999.              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2000. >>> of what the allowable topics should be are preferable to
  2001. >>> the AVERAGE user, they will improve the signal/noise ratio
  2002. >>> and make the list more efficient.
  2003.  
  2004. my quible was that you were undermining your argument by
  2005. the spurious claim that there was _no_ penalty for haveing
  2006. subscriptions to multiple groups, it just aint so.
  2007.  
  2008. Funy thing:  there are very few true absolute declarations.
  2009.  
  2010. Equally funny thing, most people seem to react much harder
  2011. to criticism than to agreement, even when the agreement is
  2012. the main point made, seems as if homo sap still has a
  2013. significant amount of group mentality.
  2014.  
  2015. Finally, I think the present charter is fine, the present
  2016. drift is a little disturbing, but not enough so to prompt
  2017. any action other than perhaps to reference related
  2018. mailing groups in the FAQ.
  2019. --
  2020. dana s emery <de19@Umail.umd.edu>
  2021.  
  2022. >From mauricio@mozart.aero.ufl.edu 5 Jun 94 16:41:41 GMT
  2023. Path: ucivax!gateway
  2024. From: mauricio@mozart.aero.ufl.edu (Mauricio Tavares)
  2025. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  2026. Message-ID: <9406050941.aa19446@q2.ics.uci.edu>
  2027. In-Reply-To: <9406031249.aa16135@q2.ics.uci.edu>; from "Pete Gontier" at Jun 3, 94 7:49 pm
  2028. X-Mailer: ELM [version 2.3 PL2]
  2029. Newsgroups: fa.think-c
  2030. X-Message-ID: <9406051641.AA04752@mozart.aero.ufl.edu>
  2031. Approved: usenet@q2.ics.uci.edu
  2032. Lines: 23
  2033. Date: 5 Jun 94 16:41:41 GMT
  2034.  
  2035. While shopping for schroberries, Pete Gontier pondered:
  2036. >
  2037. > > >There are numerous bulletin boards (AOL, Compu$erve..) and the
  2038. > > >comp.sys.mac.programming usenet news group, but not all of us have
  2039. > > >access to any of these, which is the major reason for both the drift
  2040. > > >and the tolerance of it.
  2041. > >
  2042. > > If this is indeed the case, and if folks have generally been tolerant
  2043. > > or even happy with the drift into more general (non-compiler-specific)
  2044. > > questions about programming in "C" on the Mac (why bring in Pascal?)
  2045. > > then maybe this list is still the best place to do what it's already
  2046. > > been doing, not in theory but in practice.
  2047. >
  2048. > I'm afraid you're missing the distinction I want to make. Many questions
  2049. > posted here have nothing to do with C. Instead, they have to do with
  2050. > programming the Macintosh in general, and there are already at least two
  2051. > lists which cover this topic area.
  2052. >
  2053.         I have a problem here:  is this list aimed at programming in C with
  2054. the Mac?  If that is the case, how can you separate that from, as you said,
  2055. programming the Macintosh in general?  Personally, I can't.
  2056.  
  2057.  
  2058. >From mauricio@mozart.aero.ufl.edu 5 Jun 94 16:45:53 GMT
  2059. Path: ucivax!gateway
  2060. From: mauricio@mozart.aero.ufl.edu (Mauricio Tavares)
  2061. Subject: Re: Rotating a PICT
  2062. Message-ID: <9406050945.aa19568@q2.ics.uci.edu>
  2063. In-Reply-To: <9406041929.aa20002@q2.ics.uci.edu>; from "Bill MacIntosh" at Jun 5, 94 2:29 am
  2064. X-Mailer: ELM [version 2.3 PL2]
  2065. Newsgroups: fa.think-c
  2066. X-Message-ID: <9406051645.AA04763@mozart.aero.ufl.edu>
  2067. Approved: usenet@q2.ics.uci.edu
  2068. Lines: 8
  2069. Date: 5 Jun 94 16:45:53 GMT
  2070.  
  2071. While shopping for schroberries, Bill MacIntosh pondered:
  2072. >
  2073. > I want to draw lines using a string of repeating PICT's.  I've run into the
  2074. > problem of rotating a PICT so that the line can be drawn in directions other
  2075. > than horizontal.  How can I rotate a PICT?
  2076. >
  2077.         There is in the UMPG an article describing how to rotate bitmaps, if
  2078. that helps.
  2079. >From mauricio@mozart.aero.ufl.edu 5 Jun 94 16:51:17 GMT
  2080. Path: ucivax!gateway
  2081. From: mauricio@mozart.aero.ufl.edu (Mauricio Tavares)
  2082. Subject: Problems Compiling TCP
  2083. Message-ID: <9406050951.aa19758@q2.ics.uci.edu>
  2084. X-Mailer: ELM [version 2.3 PL2]
  2085. Newsgroups: fa.think-c
  2086. X-Message-ID: <9406051651.AA04772@mozart.aero.ufl.edu>
  2087. Approved: usenet@q2.ics.uci.edu
  2088. Lines: 17
  2089. Date: 5 Jun 94 16:51:17 GMT
  2090.  
  2091.         I was trying to compile the TCP library when I got the following
  2092. error message:
  2093.  
  2094. Error: Parameter list is inappropriate here
  2095.  
  2096. The offending statement, taken from the TCPPB.h header file, is shown
  2097. bellow:
  2098.  
  2099. typedef void (*TCPNotifyProc) (
  2100.                 StreamPtr tcpStream,
  2101.                 unsigned short eventCode,
  2102.                 Ptr userDataPtr,
  2103.                 unsigned short terminReason,
  2104.                 struct ICMPReport *icmpMsg);
  2105.  
  2106. Suggestions?
  2107.  
  2108. >From gurgle@netcom.com 5 Jun 94 18:34:19 GMT
  2109. Path: ucivax!gateway
  2110. From: gurgle@netcom.com (Pete Gontier)
  2111. Subject: Re: ADMIN: list future
  2112. Message-ID: <9406051134.aa22461@q2.ics.uci.edu>
  2113. In-Reply-To: <9406050747.aa17700@q2.ics.uci.edu> from "Dana S Emery" at Jun 5, 94 02:47:26 pm
  2114. X-Mailer: ELM [version 2.4 PL23]
  2115. Content-Transfer-Encoding: 7bit
  2116. Content-Type: text/plain; charset=US-ASCII
  2117. Content-Length: 4035
  2118. MIME-Version: 1.0
  2119. Newsgroups: fa.think-c
  2120. X-Message-ID: <199406051834.LAA19871@netcom.com>
  2121. Approved: usenet@q2.ics.uci.edu
  2122. Lines: 81
  2123. Date: 5 Jun 94 18:34:19 GMT
  2124.  
  2125. > >   I think it's very unlikely that any host charges according to the
  2126. > >   number of mailing lists to which an account is subscribed. Way too
  2127. > >   difficult to enforce, even if it seemed desirable.
  2128. >
  2129. > Agreed, but that is such a narrow view of the reality as to be naive,
  2130. > we are talking about comercial enterprises here, it is natural for
  2131. > the billing structure to reflect the expected impact of an account,
  2132. > since Gigabyte capacity drives arent free this generally includes file
  2133. > storage as well as traffic, so a high volume of incoming mail will
  2134. > have a monetary impact, forceing the user to avoid active groups or
  2135. > resort to digests (when available).
  2136.  
  2137. The whole point of my original statement is that since the raw number of
  2138. mailing lists to which one is subscribed cannot be a good predictor of
  2139. how much disk space one's incoming mailing list traffic will occupy, it
  2140. would be pointless for an access provider to track such a raw number --
  2141. even if such a thing were feasible.
  2142.  
  2143. As I have said before, one could make the case that in general as the
  2144. mailing list count goes up so does the overall traffic, but I believe I
  2145. responded to that notion pretty effectively within the current context,
  2146. more specifically that when you split up a mailing list which covers two
  2147. topics into two mailing lists which each cover one of the topics, there
  2148. is no implication that overall traffic will go up.
  2149.  
  2150. And also as I have said before, I believe this mailing list does cover
  2151. two topics, that of programming the Macintosh and that of programming
  2152. with THINK C and Symantec C++.
  2153.  
  2154. When you come right down to it, if you're going to worry about how much
  2155. additional disk space an additional mailing list might cost someone,
  2156. you ought to first worry about how much disk space is already being
  2157. needlessly expended on the fact that some present subscribers are
  2158. interested in only one of the topics covered by this list.
  2159.  
  2160. > >   I don't think I am projecting anything. Groundlessly impugning
  2161. > >   my personal psychology is hardly a productive way to conduct a
  2162. > >   discussion.
  2163. >
  2164. > Hardly groundless, I stated my assumptions, you have been arguing
  2165. > them, how can you think my statements groundless?
  2166.  
  2167. OK, then you must not understand what "projecting" means. It's a
  2168. specific symptom of not being able to deal with one's own psychological
  2169. problems and attributing them to those nearby. I believe it's even
  2170. considered to be a neurosis in its own right. I don't think I'm doing
  2171. that sort of thing.
  2172.  
  2173. > my quible was that you were undermining your argument by the spurious
  2174. > claim that there was _no_ penalty for haveing subscriptions to
  2175. > multiple groups, it just aint so. Funy thing: there are very few true
  2176. > absolute declarations.
  2177.  
  2178. If you go back and read what I wrote, you will see that I qualified
  2179. the statement several times and in several ways. I allowed for the
  2180. possibility that overall traffic might go up (probably slightly), just
  2181. as I have done in this message, but I also pointed out that the number
  2182. of mailing lists to which one has subscribed cannot be a good predictor
  2183. of overall traffic, just as I have done in this message. Hardly an
  2184. absolute statement.
  2185.  
  2186. > Equally funny thing, most people seem to react much harder to
  2187. > criticism than to agreement, even when the agreement is the main point
  2188. > made, seems as if homo sap still has a significant amount of group
  2189. > mentality.
  2190.  
  2191. I don't know what you mean by "group mentality" here, but I will confess
  2192. to some amount of defensiveness, especially when people are incorrectly
  2193. tossing about psychological terms like "projecting".
  2194.  
  2195. > Finally, I think the present charter is fine, the present drift is a
  2196. > little disturbing, but not enough so to prompt any action other than
  2197. > perhaps to reference related mailing groups in the FAQ.
  2198.  
  2199. Perhaps if the FAQ were posted weekly or monthly to the list this sort
  2200. of thing would help, but as it stands now it's not.
  2201.  
  2202. --
  2203.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  2204.  Symantec C++ a "Bjarne Burner"? Yeah, I'd be pretty burned up, too!
  2205. >From gurgle@netcom.com 5 Jun 94 18:50:40 GMT
  2206. Path: ucivax!gateway
  2207. From: gurgle@netcom.com (Pete Gontier)
  2208. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  2209. Message-ID: <9406051150.aa22770@q2.ics.uci.edu>
  2210. In-Reply-To: <9406050941.aa19446@q2.ics.uci.edu> from "Mauricio Tavares" at Jun 5, 94 04:41:41 pm
  2211. X-Mailer: ELM [version 2.4 PL23]
  2212. Content-Transfer-Encoding: 7bit
  2213. Content-Type: text/plain; charset=US-ASCII
  2214. Content-Length: 2659
  2215. MIME-Version: 1.0
  2216. Newsgroups: fa.think-c
  2217. X-Message-ID: <199406051850.LAA22281@netcom.com>
  2218. Approved: usenet@q2.ics.uci.edu
  2219. Lines: 59
  2220. Date: 5 Jun 94 18:50:40 GMT
  2221.  
  2222. > I have a problem here: is this list aimed at programming in C with the
  2223. > Mac? If that is the case, how can you separate that from, as you said,
  2224. > programming the Macintosh in general? Personally, I can't.
  2225.  
  2226. As I have heard it stated many times by the list maintainer, this list
  2227. is intended to cover programming in THINK C and Symantec C++. The
  2228. compilers happen to run on the Mac, but the topic statement makes no
  2229. mention of programming on the Mac or programming for the Mac. I would
  2230. imagine that the topic could be perceived as including programming
  2231. on the Mac, but from what I read I can't perceive it as including
  2232. programming for the Mac.
  2233.  
  2234. However, as I have said several times now, I am not averse to the notion
  2235. that this list ought to be used for the discussion of programming for
  2236. the Mac. I'd just like to see somebody with clout say it out loud and/or
  2237. change the name of the list to reflect this.
  2238.  
  2239. For the record, here is what the README.list file on the archive site
  2240. has to say:
  2241.  
  2242. > This list has been created to discuss topics of interest among users
  2243. > of Symantec's Think C compiler for the Macintosh personal computer.
  2244.  
  2245. I think we can safely assume this now includes Symantec C++. Or not. I'm
  2246. willing to discuss that, too.
  2247.  
  2248. > These topics include:
  2249. >
  2250. > o programming tips and examples
  2251.  
  2252. To my arguments, this line is the most damaging, because it is the
  2253. most flexible and permissive. However, coupled with the first general
  2254. statement, I think the interpretation would have to be "tips and
  2255. examples of interest among users of Symantec's THINK C". If you really
  2256. want to push it, you could interpret this to mean that people who use
  2257. THINK C are interested in programming tips and examples of many sorts,
  2258. but if that's the case, why call it the THINK C list? Why not just call
  2259. it the programming tips and examples list, and simply suggest to THINK C
  2260. users they might be interested?
  2261.  
  2262. > o discussion of compiler bugs and/or misfeatures and workarounds
  2263.  
  2264. This line is clearly on my side. :-)
  2265.  
  2266. > o questions related to programming the Macintosh with Think C and/or
  2267. >   object-oriented programming
  2268.  
  2269. I originally thought this line was damaging to my case, but now I
  2270. see how it fits in with what I have been saying. Many of the queries
  2271. posted to this list are perfectly reasonable questions about Macintosh
  2272. programming. However, the sample code posted often could easily be
  2273. translated into another compiler's dialect of C (almost always with no
  2274. changes) or, even more tellingly, into Pascal. And the answers would be
  2275. roughly the same, too.
  2276.  
  2277. --
  2278.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  2279.  
  2280.  Microsoft Windows: like putting lipstick on a chicken.
  2281. >From gurgle@netcom.com 5 Jun 94 19:05:58 GMT
  2282. Path: ucivax!gateway
  2283. From: gurgle@netcom.com (Pete Gontier)
  2284. Subject: Re: ADMIN: list future (was Re: Symantec 7.0.2 updater...)
  2285. Message-ID: <9406051205.aa23210@q2.ics.uci.edu>
  2286. In-Reply-To: <9406050941.aa19446@q2.ics.uci.edu> from "Mauricio Tavares" at Jun 5, 94 04:41:41 pm
  2287. X-Mailer: ELM [version 2.4 PL23]
  2288. Content-Transfer-Encoding: 7bit
  2289. Content-Type: text/plain; charset=US-ASCII
  2290. Content-Length: 1631
  2291. MIME-Version: 1.0
  2292. Newsgroups: fa.think-c
  2293. X-Message-ID: <199406051906.MAA24085@netcom.com>
  2294. Approved: usenet@q2.ics.uci.edu
  2295. Lines: 32
  2296. Date: 5 Jun 94 19:05:58 GMT
  2297.  
  2298. > I have a problem here: is this list aimed at programming in C with the
  2299. > Mac? If that is the case, how can you separate that from, as you said,
  2300. > programming the Macintosh in general? Personally, I can't.
  2301.  
  2302. Sorry to clog people's mailboxes, but these little meta-discussions do
  2303. tend to crop up with some frequency in new media like mailing lists, and
  2304. there was an important aspect of the above-quoted posting to which I
  2305. failed to respond.
  2306.  
  2307. I have been assuming people were capable of making this distinction,
  2308. but I guess I am finding out now that at least some people are not.
  2309. I have programmed the Mac in C, Pascal, 68K assembly, Forth, BASIC, and
  2310. even HyperTalk (in no particular order of preference). I have programmed
  2311. under MacOS, UNIX, and DOS (this time very definitely in particular
  2312. order of preference). I have even done some work under one OS building
  2313. programs meant to be run under a different OS. I mention these things
  2314. only to explain why I believe the distinctions between programming
  2315. with THINK C and/or Symantec C++ and programming with C and/or C++ and
  2316. programming for Macintosh are very clear.
  2317.  
  2318. My only questions have been along these lines: do we want to continue
  2319. to allow this list to cover at least two topic areas but claim to cover
  2320. only one? Or should we instead formally change the charter and/or the
  2321. name? Is enforcement of the existing charter enough? How should such
  2322. enforcement be conducted?
  2323.  
  2324. --
  2325.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  2326.  
  2327.  C   credo: "Trust the programmer."
  2328.  C++ credo: "Put the muzzle of a shotgun in your mouth and
  2329.              give the programmer the trigger..."
  2330. >From nagel@barracuda 5 Jun 94 20:22:02 GMT
  2331. Path: ucivax!gateway
  2332. From: nagel@barracuda ("Mark D. Nagel")
  2333. Subject: list future: my comments
  2334. Message-ID: <9406051322.aa24849@q2.ics.uci.edu>
  2335. Newsgroups: fa.think-c
  2336. X-Message-ID: <845.770847499@barracuda>
  2337. Reply-To: mark.nagel@rdatasys.com
  2338. Approved: usenet@q2.ics.uci.edu
  2339. Organization: Relational Data Systems, Irvine, CA
  2340. Lines: 30
  2341. Date: 5 Jun 94 20:22:02 GMT
  2342. Phone: (714) 263-3899
  2343.  
  2344. I've watched the discussion for the past few days and have come to
  2345. several conclusions:
  2346.  
  2347.     1. (Most important) The think-c list will continue to be devoted
  2348.        to discussion of THINK C and Symantec C++.  CodeWarrior has
  2349.        its own list and if I switch to using it, I know where to
  2350.        subscribe :).
  2351.  
  2352.     2. Some people perceive a drift in the list contents of late.  I
  2353.        must agree, but not for the same reasons.  I've seen a slow
  2354.        replacement of the discussion topics with what might be termed
  2355.        "beginner" questions.  Nothing wrong with a few of these, but
  2356.        the list used to be more technical; now it has become quite a
  2357.        bit less so.  I think that developing a FAQ for the list will
  2358.        help, and I'm working on one.  Please send me any suggestions
  2359.        for contents of the FAQ.
  2360.  
  2361.     3. The charter for this list has always included general Mac
  2362.        programming.  I don't remember seeing a huge amount of traffic
  2363.        dedicated to problems specific to working with the compiler.
  2364.        I don't really feel it's necessary to modify this, but if
  2365.        most people do, I would consider splitting the list into more
  2366.        than one list with more specific topic areas.
  2367.  
  2368. Mark
  2369. --------
  2370. Mark D. Nagel <mark.nagel@rdatasys.com>      Relational Data Systems
  2371.                                              30 Executive Park, Suite 260
  2372. Eat right.  Exercise.  Die anyway.           Irvine, CA 92714
  2373.                                              (714) 263-3899
  2374. >From larry@rhythm.com 5 Jun 94 20:42:55 GMT
  2375. Path: ucivax!gateway
  2376. From: larry@rhythm.com (Larry Weinberg)
  2377. Subject: Re: ADMIN: list future
  2378. Message-ID: <9406051342.aa25341@q2.ics.uci.edu>
  2379. Newsgroups: fa.think-c
  2380. X-Message-ID: <9406052039.AA08309@rhythm.com>
  2381. Approved: usenet@q2.ics.uci.edu
  2382. Lines: 13
  2383. Date: 5 Jun 94 20:42:55 GMT
  2384.  
  2385.  
  2386. This mailing list seemed fine until this discussion of identity began.
  2387. I used to get 3-5 messages a day at most.
  2388. Now I'm getting 20-30 self-reflexive wonderings about its meaning in life.
  2389.  
  2390. Will it ever end?
  2391.  
  2392. Larry
  2393.  
  2394. Larry Weinberg                          Rhythm & Hues, Inc.
  2395. INTERNET:   larry@rhythm.com
  2396. We can't all, and some of us don't.  That's all there is to it.  -- Eeyore
  2397.  
  2398. >From WK01739@worldlink.com 5 Jun 94 21:48:10 GMT
  2399. Path: ucivax!gateway
  2400. From: WK01739@worldlink.com (Bill MacIntosh)
  2401. Subject: Re: Rotating a PICT
  2402. Message-ID: <9406051448.aa26843@q2.ics.uci.edu>
  2403. X-Mailer: InterCon WorldLink 2.0
  2404. Content-Type: text/plain; charset=US-ASCII
  2405. Mime-Version: 1.0
  2406. Newsgroups: fa.think-c
  2407. X-Message-ID: <9406051447.AA40911@worldlink.com>
  2408. Approved: usenet@q2.ics.uci.edu
  2409. Lines: 17
  2410. Date: 5 Jun 94 21:48:10 GMT
  2411.  
  2412. > > I want to draw lines using a string of repeating PICT's.  I've run
  2413. > > into the problem of rotating a PICT so that the line can be drawn
  2414. > > in directions other than horizontal.  How can I rotate a PICT?
  2415. > >
  2416. >       There is in the UMPG an article describing how to rotate
  2417. > bitmaps, if that helps.
  2418. >
  2419.  
  2420. Mauricio,
  2421.  
  2422. Where might I find this UMPG article?  Especially, where on the 'net.
  2423.  
  2424.  
  2425. Bill MacIntosh
  2426. WK01739@Worldlink.com
  2427.  
  2428.  
  2429. >From barnett@cs.umbc.edu 6 Jun 94 00:01:42 GMT
  2430. Path: ucivax!gateway
  2431. From: barnett@cs.umbc.edu (Aaron Barnett)
  2432. Subject: PICT resource -> bitmap
  2433. Message-ID: <9406051701.aa29929@q2.ics.uci.edu>
  2434. Newsgroups: fa.think-c
  2435. X-Message-ID: <199406060001.AA09770@topdog.cs.umbc.edu>
  2436. Approved: usenet@q2.ics.uci.edu
  2437. Lines: 10
  2438. Date: 6 Jun 94 00:01:42 GMT
  2439.  
  2440.  
  2441. i have a PICT resource that i need to use as a bitmap.
  2442. like for copybits (actually copymask).
  2443. how can i convert it?
  2444.  
  2445.  
  2446.  
  2447. \.
  2448. aaron <barnett@cs.umbc.edu>
  2449. "i think im going crazy, but its only in my mind."
  2450. >From ST801256@brownvm.brown.edu 6 Jun 94 03:48:30 GMT
  2451. Path: ucivax!gateway
  2452. From: ST801256@brownvm.brown.edu (Joel Henderson)
  2453. Subject: ADMIN: Repost FAQ regularly
  2454. Message-ID: <9406052048.aa06077@q2.ics.uci.edu>
  2455. Newsgroups: fa.think-c
  2456. X-Message-ID: <9406052048.aa06077@q2.ics.uci.edu>
  2457. Approved: usenet@q2.ics.uci.edu
  2458. Organization: EOS / Educational Online Sources <eos1@brown.edu>
  2459. Lines: 41
  2460. Date: 6 Jun 94 03:48:30 GMT
  2461.  
  2462. Hi,
  2463.  
  2464. This discussion of admin leaves me wondering what would be so hard
  2465. about posting a weekly intro. This would be a brief introduction
  2466. to the list, its goals, and where to find more related info. For
  2467. example, something like this:
  2468.  
  2469. ----
  2470.  
  2471. You are subscribed to comp.sys.mac.oop.tcl (or whatever the list is
  2472. called; I have it through a shadow remailer).  This list is intended
  2473. for discussion of Symantec's Think Class Library. Although we prefer
  2474. discussion relating specifically to TCL, programming obviously isn't
  2475. so cleanly separated from hardware, operating systems, and so on.
  2476. So discussion may tangentially include information about programming
  2477. in C, C++, object-oriented languages, and the Macintosh toolbox.
  2478. For beginners, it's often hard to see when a problem is related to
  2479. the language (such as C++), the implementation (Symantec), the
  2480. class library (TCL), and the operation system (Macintosh)--
  2481. so don't be shy, if you're not sure. This is a place to learn.
  2482.  
  2483. Before you post, though, you should check to see if your question
  2484. has already been answered in the Frequently-Asked-Questions (FAQ)
  2485. file. Here's how to find and read the FAQ...   (instructions here)
  2486. The FAQ also has recommendations for good books to read about
  2487. Mac and C programming, online resources, archive sites, and
  2488. instructions on how to search past postings.
  2489.  
  2490. You may also want to subscribe to some of these related lists;
  2491. instructions for subscribing to them are in our FAQ:
  2492.  
  2493.    code warrior        --   for Metroworks (?)
  2494.    ???                 --   general Mac programming
  2495.    ???                 --   C programming
  2496.    ???                 --   Prograph (another object-oriented Mac language)
  2497.  
  2498. --------------------------------------------------------------------------
  2499. Joel_Henderson@Brown.Edu           Web--> http://home.eos.brown.edu/eos1/
  2500. EOS: Educational Online Sources    FTP/Gopher--> home.eos.brown.edu
  2501. Box 2325 / Providence, RI 02906    Send mail to eosmailer@brown.edu
  2502. eos1@brown.edu / 1-800-ask-eos1    and somewhere in it write: help!
  2503. >From rmah@panix.com 6 Jun 94 06:47:06 GMT
  2504. Path: ucivax!gateway
  2505. From: rmah@panix.com ("Robert S. Mah")
  2506. Subject: Re: ADMIN: list future
  2507. X-Sender: rmah@popserver.panix.com
  2508. Message-ID: <9406052347.aa10459@q2.ics.uci.edu>
  2509. Content-Type: text/plain; charset="us-ascii"
  2510. Mime-Version: 1.0
  2511. Newsgroups: fa.think-c
  2512. X-Message-ID: <199406060646.AA07687@panix.com>
  2513. Approved: usenet@q2.ics.uci.edu
  2514. Lines: 22
  2515. Date: 6 Jun 94 06:47:06 GMT
  2516.  
  2517. At  7:05 PM 6/5/94 +0000, Pete Gontier wrote:
  2518.  
  2519. > My only questions have been along these lines: do we want to continue
  2520. > to allow this list to cover at least two topic areas but claim to cover
  2521. > only one? Or should we instead formally change the charter and/or the
  2522. > name? Is enforcement of the existing charter enough? How should such
  2523. > enforcement be conducted?
  2524.  
  2525. Well, as someone who reads this mailing list, the codewarrior mailing list
  2526. and comp.sys.mac.programmer, I can say that I'd like this list to concentrate
  2527. on issues related only to Think C/Symantec C++.  The occaisonal, toolbox
  2528. question is no big deal, but I subscribed to the think-c mailing list more
  2529. to hear about gotcha's particular to the Think C compiler than anything
  2530. else.
  2531.  
  2532. Cheers,
  2533. Rob
  2534.  
  2535. ___________________________________________________________________________
  2536. Robert S. Mah  -=-  One Step Beyond  -=-  212-947-6507  -=-  rmah@panix.com
  2537.  
  2538.  
  2539. >From waldorfm@admina.rferl.org 6 Jun 94 12:44:48 GMT
  2540. Path: ucivax!gateway
  2541. From: waldorfm@admina.rferl.org (Markus Waldorf)
  2542. Subject: list future wanted
  2543. X-Sender: waldorfm@muvaxb.rferl.org
  2544. Message-ID: <9406060544.aa05827@q2.ics.uci.edu>
  2545. Content-transfer-encoding: 7BIT
  2546. Content-type: text/plain; charset="us-ascii"
  2547. MIME-version: 1.0
  2548. Newsgroups: fa.think-c
  2549. X-Message-ID: <01HD7ZSKLBCY90QODT@AdminA.RFERL.Org>
  2550. Approved: usenet@q2.ics.uci.edu
  2551. Date-warning: Date header was inserted by AdminA.RFERL.Org
  2552. Lines: 22
  2553. Date: 6 Jun 94 12:44:48 GMT
  2554.  
  2555.  
  2556. I've seen:
  2557.  
  2558. "Microsoft Windows: like putting lipstick on a chicken."
  2559.  
  2560. How about:
  2561.  
  2562. "God apparently doesn't have a Macintosh yet"
  2563.  
  2564.  
  2565. Just an idea of what I think shouldn't be on that list. However,
  2566. still not the most clever answer so far to "ADMIN: list future".
  2567.  
  2568. --------------------------------------------------------------------------
  2569.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  2570.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  2571.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  2572.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  2573. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  2574. --------------------------------------------------------------------------
  2575.  
  2576.  
  2577. >From waldorfm@admina.rferl.org 6 Jun 94 12:44:59 GMT
  2578. Path: ucivax!gateway
  2579. From: waldorfm@admina.rferl.org (Markus Waldorf)
  2580. Subject: list server virus
  2581. X-Sender: waldorfm@muvaxb.rferl.org
  2582. Message-ID: <9406060544.aa05832@q2.ics.uci.edu>
  2583. Content-transfer-encoding: 7BIT
  2584. Content-type: text/plain; charset="us-ascii"
  2585. MIME-version: 1.0
  2586. Newsgroups: fa.think-c
  2587. X-Message-ID: <01HD82NCICQA90QES8@AdminA.RFERL.Org>
  2588. Approved: usenet@q2.ics.uci.edu
  2589. Date-warning: Date header was inserted by AdminA.RFERL.Org
  2590. Lines: 20
  2591. Date: 6 Jun 94 12:44:59 GMT
  2592.  
  2593. Sorry if I sound ironic, but I cannot help trying to recall who the
  2594. persons was which put the future of this list in question. Is (s)he
  2595. still listening or just laughing somewere.
  2596.  
  2597. (How to disturb list - just post a question on its future!?).
  2598.  
  2599.  
  2600. Can I make a suggestion, please?
  2601.  
  2602. How about leaving it all as it is. Can't we just say, that if someone is
  2603. not receiving flames or even nothing at all, then the posting is rather
  2604. on the topic. I'm sure that if people are not receiving answers, they sooner
  2605. or later leave. Also, I don't have a problem with the name of this list.
  2606.  
  2607. Thanks.
  2608.  
  2609. (I always have to say something, when I better shut my mouth!)
  2610.  
  2611.  
  2612.  
  2613. >From zxmbt07@student.uni-tuebingen.de 6 Jun 94 14:02:02 GMT
  2614. Path: ucivax!gateway
  2615. From: zxmbt07@student.uni-tuebingen.de (Thomas Bridgwater)
  2616. Subject: Re: KeyMap and codes
  2617. Message-ID: <9406060702.aa07960@q2.ics.uci.edu>
  2618. X-Mailer: ELM [version 2.4 PL23]
  2619. Content-Type: text
  2620. Content-Length: 3771
  2621. Newsgroups: fa.think-c
  2622. X-Message-ID: <9406061400.AA03081@student.uni-tuebingen.de>
  2623. Approved: usenet@q2.ics.uci.edu
  2624. Lines: 73
  2625. Date: 6 Jun 94 14:02:02 GMT
  2626.  
  2627.  
  2628. After Markus suggested that I post my response to his question to the
  2629. list in general, I thought I might do just that... so here it is:
  2630.  
  2631. ---------------------------------------------------------------------------
  2632. > Well, I don't know, perhaps I don't understand you. It's
  2633. > clear to me that the codes behind the keys are always the
  2634. > same and that the system remaps or passes on these codes,
  2635. > according to the current KCHR resource. The thing that makes
  2636. > me wonder is that apparently the Shift key and the letter "8"
  2637. > seem to produce the same code Hex 38. I assume there's
  2638. > something special to these keys like Capslock, Shift, Option and
  2639. > Command.
  2640.  
  2641. Okay, it seems like you're getting mixed up in the difference in what's
  2642. being called the 'character' versus the 'key code'. There are two
  2643. situations in Mac programming that deal with what's happening at the
  2644. keyboard.
  2645.  
  2646. The first is in the event loop when you get a keyDown, autoKey, or keyUp
  2647. event. In this case the 'message' field in the EventRecord structure
  2648. gives you information about both of these codes. This event comes only
  2649. from actions related to keys that actually have a character associated
  2650. with them (like the a-z and number keys, but not the shift key). In the
  2651. message field of these events, the byte in bits 0-7 indicates the
  2652. 'character' (ASCII value: 0x38 for the '8' key) and the byte in bits
  2653. 8-15 indicates the 'key code' (the code from the keyboard: 0x1C for the
  2654. normal '8' key, and 0x5B for the numeric keypad '8' key).
  2655.  
  2656. The other way your application gets information about the keyboard is
  2657. through a call to GetKeys(). GetKeys takes as its only parameter a
  2658. pointer to a 16-byte structure of type 'KeyMap' (typedef'd as an array
  2659. of long). The result of this function is that this structure is filled
  2660. with information about what keys are currently depressed. Each bit in
  2661. the structure is a flag for one of the 128 possible key code calues; a 1
  2662. indicates the key is depressed, 0 indicates it is released. This
  2663. structure is in the order of a pascal packed array of Boolean, so the
  2664. order isn't immediately obvious. To determine which bit represents a
  2665. particular key code value, take bits 3-6 of the desired key as
  2666. indicating the offset into the structure and bits 0-2 indicate which bit
  2667. in that byte should be checked. In other words, the bytes are arranged
  2668. little endian. One more hitch is that at any one time a maximum of seven
  2669. bits will be set: you can have any combination of the five modifier keys
  2670. (shift, command, option, caps lock, control) and any two other keys.
  2671. Here's a little routine that may be clearer than what I've written just
  2672. now that checkes if a given key is pressed:
  2673.  
  2674. Boolean isPressed(unsigned char keyCode) {
  2675.   unsigned char keyMap[16];
  2676.   GetKeys(keyMap);
  2677.   return ((keyMap[keyCode>>3] >> (keyCode&7) & 1); }
  2678.  
  2679. Oh, one more thing... while playing around with this to make sure I
  2680. wasn't telling you something incorrect, I noticed that there are three
  2681. key codes generated by the extended keyboard that aren't by the other
  2682. keyboards available. These are for the right command, option and shift
  2683. keys... I don't remember exactly what these codes were, but the right
  2684. shift key generates the key code 0x3C and the other right modifier keys
  2685. are in a sequential series with this one (but I don't remember in what
  2686. order). Not having that keyboard, I couldn't check exactly how that
  2687. works, but I think that in the key map from GetKeys() each of these three
  2688. keys will cause two bits to be set (perhaps changing the maximum bits
  2689. set to 10): the normal (shift = 0x38) and the special (r.shift = 0x3C).
  2690.  
  2691.  
  2692.     I hope all this helps, and that I'm not too hard
  2693.         to understand (as I tend to get when talking
  2694.         about the details of the system)
  2695.  
  2696.             -- Tom Bridgwater
  2697.  
  2698.  
  2699.  
  2700. >From ribtm@ttacs1.ttu.edu 6 Jun 94 15:31:14 GMT
  2701. Path: ucivax!gateway
  2702. From: ribtm@ttacs1.ttu.edu (Greg Vaughn)
  2703. Subject: Porting from MPW to Think C
  2704. Message-ID: <9406060831.aa11687@q2.ics.uci.edu>
  2705. Content-transfer-encoding: 7BIT
  2706. Content-type: text/plain; charset="us-ascii"
  2707. MIME-version: 1.0
  2708. Newsgroups: fa.think-c
  2709. X-Message-ID: <01HD7VVMKO0I9D8AYE@ttacs.ttu.edu>
  2710. Approved: usenet@q2.ics.uci.edu
  2711. Lines: 28
  2712. Date: 6 Jun 94 15:31:14 GMT
  2713.  
  2714. I got ahold of an article and code samples from Develop 11 from
  2715. ftp.apple.com last week called the Asynchronous Sound Helper. I'm having
  2716. problems with the code though. It was written for MPW C and is not directly
  2717. compiling with the Symantec C++ 7.0.1 (full version, not just updates)
  2718. compiler that I'm using. Is anyone familiar with this article? Have you
  2719. used it in the Think environment?
  2720.  
  2721. If no one has, then here's the problem that I can't get over. It's a syntax
  2722. error in a prototype declaration in one of the header files. The line is:
  2723.  
  2724.         pascal OSErr SHGetChannel(long refNum, SndChannelPtr *channel);
  2725.  
  2726. The header file this is in #includes another header file which in turn
  2727. #includes Sound.h. If I #include <Sound.h> directly in this file then I get
  2728. an error in Sound.h. This happens both with the Apple Headers and the
  2729. Universal Headers version of Sound.h. I'm using the factory setting for the
  2730. compiler.
  2731.  
  2732. Any ideas?
  2733.  
  2734.  
  2735.  ______
  2736. /\__  _\                | Greg Vaughn
  2737. \/_/\ \/ exas           | Physics Grad Student, Insulator Research Lab
  2738.    \ \_\ ech University | Finger: greg@scm41-2.phys.ttu.edu
  2739.     \/_/ Lubbock, Texas | E-Mail: ribtm@ttacs.ttu.edu
  2740.  
  2741.  
  2742. >From Brian.Bezanson@macsrv.mgi.com 6 Jun 94 15:43:25 GMT
  2743. Path: ucivax!gateway
  2744. From: Brian.Bezanson@macsrv.mgi.com (Brian Bezanson)
  2745. Subject: RE>PICT resource -> bitmap
  2746. Message-ID: <9406060843.aa12502@q2.ics.uci.edu>
  2747. X-Mailer: InterCon Dispatcher/SMTP for QuickMail
  2748. Newsgroups: fa.think-c
  2749. X-Message-ID: <199406061044194464@macsrv.mgi.com>
  2750. Approved: usenet@q2.ics.uci.edu
  2751. X-Priority: 4
  2752. Lines: 19
  2753. Date: 6 Jun 94 15:43:25 GMT
  2754.  
  2755. Date    6/6/94
  2756. Subject RE>PICT resource -> bitmap
  2757. From    Brian Bezanson
  2758. To      Aaron Barnett, think-c
  2759.  
  2760.         Reply to:   RE>PICT resource -> bitmap
  2761. >i have a PICT resource that i need to use as a bitmap.
  2762. >like for copybits (actually copymask).
  2763. >how can i convert it?
  2764.  
  2765. Create an appropriate off-screen bitmap (color or b/w) and "Draw" the pict in
  2766. the bitmap. Nnow you have a bitmap and you CopyBits all you want. See THINK
  2767. Reference (buy it if you don't have it) if you need sample offscreen code.
  2768.  
  2769. Brian
  2770.  
  2771.  
  2772.  
  2773.  
  2774. >From gurgle@netcom.com 6 Jun 94 17:12:50 GMT
  2775. Path: ucivax!gateway
  2776. From: gurgle@netcom.com (Pete Gontier)
  2777. Subject: Re: list server virus
  2778. Message-ID: <9406061012.aa18069@q2.ics.uci.edu>
  2779. In-Reply-To: <9406060544.aa05832@q2.ics.uci.edu> from "Markus Waldorf" at Jun 6, 94 12:44:59 pm
  2780. X-Mailer: ELM [version 2.4 PL23]
  2781. Content-Transfer-Encoding: 7bit
  2782. Content-Type: text/plain; charset=US-ASCII
  2783. Content-Length: 1347
  2784. MIME-Version: 1.0
  2785. Newsgroups: fa.think-c
  2786. X-Message-ID: <199406061712.KAA17915@netcom.com>
  2787. Approved: usenet@q2.ics.uci.edu
  2788. Lines: 27
  2789. Date: 6 Jun 94 17:12:50 GMT
  2790.  
  2791. > Sorry if I sound ironic, but I cannot help trying to recall who the
  2792. > persons was which put the future of this list in question. Is (s)he
  2793. > still listening or just laughing somewere.
  2794.  
  2795. Actually, it was the maintainer of the list, Mark Nagel. I suspect he is
  2796. still around here somewhere.
  2797.  
  2798. > How about leaving it all as it is. Can't we just say, that if someone
  2799. > is not receiving flames or even nothing at all, then the posting
  2800. > is rather on the topic. I'm sure that if people are not receiving
  2801. > answers, they sooner or later leave. Also, I don't have a problem with
  2802. > the name of this list.
  2803.  
  2804. I find it bizarre that people are so willing to cling to the status
  2805. quo just to avoid having to discuss it. I'm not singling anyone out,
  2806. here; I've received a fair volume of private mail to this effect, as
  2807. well. I don't really care if the list stays the way it is at this point,
  2808. but if it turns out that way only because people would rather not have
  2809. their boats rocked, then I daresay we might as well be discussing Cobol
  2810. programming on mainframes with command-line interfaces. And while we're
  2811. at it, let's all put on ties and apply hair remover to our scalps and
  2812. make sure we get no less than three martinis at lunch.
  2813.  
  2814. --
  2815.  Pete Gontier, CTO, Integer Poet Software; gurgle@netcom.com
  2816.  
  2817.  You thought Obfuscated C was confusing? Wait for Obfuscated C++!
  2818. >From pindar3@cix.compulink.co.uk 6 Jun 94 19:51:12 GMT
  2819. Path: ucivax!gateway
  2820. From: pindar3@cix.compulink.co.uk (Pindar Infotek Ltd)
  2821. Subject: Re- ADMIN- list future
  2822. Message-ID: <9406061251.aa29688@q2.ics.uci.edu>
  2823. Newsgroups: fa.think-c
  2824. Reply-To: pindar3@cix.compulink.co.uk
  2825. X-Message-ID: <memo.303621@cix.compulink.co.uk>
  2826. Approved: usenet@q2.ics.uci.edu
  2827. Lines: 31
  2828. Date: 6 Jun 94 19:51:12 GMT
  2829.  
  2830.  
  2831. >From Pindar user Ian McCall
  2832.  
  2833. Subject: _Re: ADMIN: list future
  2834. > I think it's very unlikely that any host charges according to
  2835. > the number of mailing lists to which an account is subscribed.
  2836. > Way too difficult to enforce, even if it seemed desirable.
  2837.  
  2838. I've kept out of this discussion so far because I've really had
  2839. nothing unique to say. However, I'd like to comment on this point.
  2840.  
  2841. I used to go to Lancaster University, and as far as I recall that
  2842. University limited the amount of automatic mailing lists a person
  2843. could be subscribed to. The rules could be broken of course, and they
  2844. really didn't have much way to check. Still, it was a definite
  2845. limitation that tends to work against the 'specific list' argument.
  2846.  
  2847. I am happy with things the way they are. I would also like to propose
  2848. a time limit of some kind for the discussion, since the list's
  2849. biggest problem at the moment is the amount of admin-related traffic.
  2850. How about we give it a week and then take some form of vote?
  2851.  
  2852.  
  2853. Ian
  2854.  
  2855.  
  2856.  
  2857. ---
  2858. Please make 'Attn:<space>Ian McCall' the first line of your reply
  2859. (not the subject) to ensure automatic forwarding to the correct
  2860. Pindar user.
  2861. >From aland@cs.brandeis.edu 6 Jun 94 21:01:51 GMT
  2862. Path: ucivax!gateway
  2863. From: aland@cs.brandeis.edu ("Alan D.")
  2864. Subject: Re: ADMIN: list future
  2865. Message-ID: <9406061401.aa03982@q2.ics.uci.edu>
  2866. In-Reply-To: <9406052347.aa10459@q2.ics.uci.edu> from "Robert S. Mah" at Jun 6, 94 06:47:06 am
  2867. X-Mailer: ELM [version 2.4 PL22]
  2868. Content-Transfer-Encoding: 7bit
  2869. Content-Type: text/plain; charset=US-ASCII
  2870. Content-Length: 405
  2871. MIME-Version: 1.0
  2872. Newsgroups: fa.think-c
  2873. X-Message-ID: <199406062101.RAA10029@goose.cs.brandeis.edu>
  2874. Approved: usenet@q2.ics.uci.edu
  2875. Lines: 9
  2876. Date: 6 Jun 94 21:01:51 GMT
  2877.  
  2878. I'd just like to add a minor protest to the idea of posting a weekly
  2879. FAQ, Admin posting, etc.  I don't pay for my bandwidth, per se, but I
  2880. do have limits, and each message pushes me closer to them. *grin*
  2881.  
  2882. I have no problem at all with off-topic messages, or even monthly or
  2883. bi-monthly FAQ or Admin postings.  However, I think repeat posts just
  2884. detract from the signal to noise ratio...
  2885.  
  2886.           -=Alan
  2887. >From winter@ai.rl.af.mil 7 Jun 94 18:36:35 GMT
  2888. Path: ucivax!gateway
  2889. From: winter@ai.rl.af.mil (Jim Wintermyre)
  2890. Subject: Extracting routines from binary libraries?
  2891. Message-ID: <9406071136.aa15689@q2.ics.uci.edu>
  2892. Newsgroups: fa.think-c
  2893. X-Message-ID: <199406071835.OAA08541@jose.AI.RL.AF.MIL>
  2894. Approved: usenet@q2.ics.uci.edu
  2895. Lines: 31
  2896. Date: 7 Jun 94 18:36:35 GMT
  2897.  
  2898. Help!  This is driving me crazy.  I have a binary THINK C library, probably
  2899. created with a pre-7 version of THINK C.  I need to create a library that
  2900. only contains a few of the routines in this library.  How do I do it?  I know
  2901. how to do it if I have an MPW or THINK Pascal binary library, using the .o
  2902. converter.  But how do I do it with a THINK C binary library?
  2903.  
  2904. I tried creating a THINK Pascal binary library by just including this THINK C
  2905. library and building the new library.  Then I went into MPW and tried to
  2906. create a new library with just the routines I needed by following the
  2907. procedure in the .o Converter section of the THINK C manual.  But I ended up
  2908. with an empty library.  It seems like there must be some way to do this in
  2909. THINK C.  I must be missing something.
  2910.  
  2911. Here's why I need this.  I'm working on a project in THINK Pascal.  I wrote a
  2912. routine in THINK C so I could hand optimize it, and I saved it as a THINK C
  2913. binary library that I included in my THINK Pascal project.  The problem is
  2914. that this routine makes a call to another routine which is defined in this
  2915. *other* binary THINK C library.  This library contains a bunch of other
  2916. routines that I don't need, and when I include it in the THINK Pascal
  2917. project, I get a bunch of multiply defined routines and other link errors.
  2918. If I could just eliminate the routines I don't need, the link problems would
  2919. go away.
  2920.  
  2921. Any ideas?
  2922.  
  2923. Thanks,
  2924.  
  2925. Jim
  2926.  
  2927. winter@ai.rl.af.mil
  2928. wintermyrej@lonex.rl.af.mil
  2929. >From dnebing@andy.bgsu.edu 7 Jun 94 19:04:55 GMT
  2930. Path: ucivax!gateway
  2931. From: dnebing@andy.bgsu.edu ("Mr. Neb")
  2932. Subject: Where do I get...
  2933. Message-ID: <9406071204.aa17481@q2.ics.uci.edu>
  2934. Newsgroups: fa.think-c
  2935. X-Message-ID: <9406071904.AA11357@andy.bgsu.edu>
  2936. Approved: usenet@q2.ics.uci.edu
  2937. Lines: 16
  2938. Date: 7 Jun 94 19:04:55 GMT
  2939.  
  2940.  
  2941.   Yeah, I know, this is another one of those "Where do I find xxx"
  2942. posts.  Just bare with me and I will make it quick and painless ;-)
  2943.  
  2944.   What's the email address (or whatever address/phone # will do)
  2945. to get ahold of the docs for creating an external editor for TPM?
  2946.  
  2947. Dave.
  2948.  
  2949. ============================================================
  2950. Dave Nebinger                    dnebing@andy.bgsu.edu
  2951. Network Manager, Biology Dept.   dnebing@opie.bgsu.edu
  2952. Bowling Green State University   dnebing@bgsuopie (bitnet)
  2953. Bowling Green, OH 43403          #include <std_disclaimer.h>
  2954.  
  2955.              *THE* alt.sources.mac supporter!
  2956. >From SJKim@aol.com 8 Jun 94 02:13:09 GMT
  2957. Path: ucivax!gateway
  2958. From: SJKim@aol.com
  2959. Subject: Problem: Update v6.0.1 --> v7.0
  2960. Message-ID: <9406071913.aa09841@q2.ics.uci.edu>
  2961. X-Mailer: America Online Mailer
  2962. Newsgroups: fa.think-c
  2963. X-Message-ID: <9406072212.tn944561@aol.com>
  2964. Approved: usenet@q2.ics.uci.edu
  2965. Lines: 21
  2966. Date: 8 Jun 94 02:13:09 GMT
  2967.  
  2968. Dear netters:
  2969.  
  2970. Hello.  Recently, I updated my Symantec C++ v6.0 for Macintosh to v6.0.1.
  2971.  And, I downloaded v7.0 update patch, and followed the instruction to update.
  2972.  However, when I re-precompile TCLHeaders++ from the file "TCL #include.cp",
  2973. I got this warning message from the compiler:
  2974.  
  2975. File <Exceptions.h>; Line 71; While Compiling <TCL #includes.cp>
  2976. Warning: unrecognized pragma
  2977.  
  2978. In the file "Exceptions.h" at line 71 contains following:
  2979.  
  2980. #pragma nooptimize(CatchException)
  2981.  
  2982. Although the compiler gives this message, it lets me save precompiled file.
  2983.  But will it be a problem in the future?
  2984.  
  2985. Thanks in advance.
  2986.  
  2987. sjkim@aol.com
  2988.  
  2989. >From Mhteas@aol.com 8 Jun 94 05:11:31 GMT
  2990. Path: ucivax!gateway
  2991. From: Mhteas@aol.com
  2992. Subject: Re: Multiple Screen Depths
  2993. Message-ID: <9406072211.aa16121@q2.ics.uci.edu>
  2994. X-Mailer: America Online Mailer
  2995. Newsgroups: fa.think-c
  2996. X-Message-ID: <9406062105.tn899061@aol.com>
  2997. Approved: usenet@q2.ics.uci.edu
  2998. Lines: 17
  2999. Date: 8 Jun 94 05:11:31 GMT
  3000.  
  3001. Brent,
  3002.  
  3003. To draw to multiple depth screens, use the DeviceLoop() trap in the Graphics
  3004. Devices chapter of IM.  It'll handle rationalizing everything to the proper
  3005. depth and type of monitor.  It's the recommended way.
  3006.  
  3007. To drag a window anywhere in the GrayRgn, make the drag rect the bounding
  3008. rect of that gray rgn.  I think that'll do it.
  3009.  
  3010. Good luck,
  3011. Malcolm Teas
  3012. Teas Technology - Custom software for the Mac and Newton.
  3013. mhteas@aol.com
  3014.  
  3015.  
  3016.  
  3017.  
  3018. >From jwiggins@lightstream.com 8 Jun 94 14:13:43 GMT
  3019. Path: ucivax!gateway
  3020. From: jwiggins@lightstream.com (John Wiggins (LS TP/414 508-262-1021) )
  3021. Subject: Re: list future: my comments
  3022. Message-ID: <9406080713.aa18924@q2.ics.uci.edu>
  3023. In-Reply-To: Your message of "05 Jun 1994 20:22:02 GMT."
  3024.              <9406051322.aa24849@q2.ics.uci.edu>
  3025. Newsgroups: fa.think-c
  3026. X-Message-ID: <9406081413.AA17560@leucrotta.LightStream.COM>
  3027. Approved: usenet@q2.ics.uci.edu
  3028. Lines: 56
  3029. Date: 8 Jun 94 14:13:43 GMT
  3030.  
  3031. Mark:
  3032.  
  3033. You probably already know this, but you might want to contact Michael
  3034. Kelly and Kent Sandvick for help in getting your list together.
  3035. Especially since many of the FAQ may not *always* be ThinkC specific
  3036. ;-)
  3037.  
  3038.  
  3039. Hope this helps,
  3040. John Wiggins
  3041.  
  3042. email: jwiggins@lightstream.com                 John Wiggins, TP/414
  3043.  tele: 508-262-1021                             1100 Technology Park Drive
  3044.   FAX: 508-262-1039                             Billerica, MA 01821
  3045.  
  3046.  
  3047.         __________________________________________________________
  3048. On nic.switch.ch (The Swiss Academic and Research Network), in
  3049. /software/mac/FAQ, you can find two files of FAQ
  3050.                      +---------------------------------+
  3051.                      | Frequently Asked Questions List |
  3052.                      |   for Comp.Sys.Mac.Programmer   |
  3053.                      |         August 3, 1992          |
  3054.                      |            PART  ONE & TWO      |
  3055.                      +---------------------------------+
  3056.  
  3057. This FAQ list is maintained by Michael A. Kelly.  He can be reached at the
  3058. following addresses:
  3059.  
  3060.    Internet:  mkelly@cs.uoregon.edu
  3061.    SnailMail: Computer Science Dept.
  3062.               University of Oregon
  3063.               Eugene, Oregon  97403
  3064.  
  3065. He also claims to automatically posted this once a week to
  3066. comp.sys.mac.programmer.  It is also available via anonymous ftp from
  3067. ftp.cs.uoregon.edu [128.223.8.8] (user name 'anonymous', your internet
  3068. address as password) in the files /pub/mac/csmp-faq-1 and
  3069. /pub/mac/csmp-faq-2.
  3070.  
  3071.         __________________________________________________________
  3072.  
  3073. Also, in the same directory on nic.switch.ch, you may find an RTF file
  3074. written by Kent Sandvik:
  3075.  
  3076. Frequently Asked MPW++ and MacApp Questions:
  3077.  
  3078. Version: 1.0a7
  3079. Date: 02/03/91
  3080. Moderator: Kent Sandvik, Apple Developer Technical Support
  3081. Concerning changes, comments, updates, corrections, right to use and any other correspondance, contact:
  3082. AppleLink: KSAND
  3083. Usenet: ksand@apple.com
  3084. CompuServe: 75300,1331
  3085. For more updated information, consult the Developer Services Q&A stack, available on ftp.apple.com (Internet), and on the Developer Services CDs.
  3086.  
  3087. >From ribtm@ttacs1.ttu.edu 8 Jun 94 14:41:29 GMT
  3088. Path: ucivax!gateway
  3089. From: ribtm@ttacs1.ttu.edu (Greg Vaughn)
  3090. Subject: Help with link errors
  3091. Message-ID: <9406080741.aa20172@q2.ics.uci.edu>
  3092. Content-transfer-encoding: 7BIT
  3093. Content-type: text/plain; charset="us-ascii"
  3094. MIME-version: 1.0
  3095. Newsgroups: fa.think-c
  3096. X-Message-ID: <01HDAMPUN4VM9D8N9D@ttacs.ttu.edu>
  3097. Approved: usenet@q2.ics.uci.edu
  3098. Lines: 35
  3099. Date: 8 Jun 94 14:41:29 GMT
  3100.  
  3101. Sorry if this is really basic to some of you folks, but this is the first
  3102. multiple source file project I've done. It compiles fine in one source
  3103. file, but as it has been growing I decided to split it up. Now I'm getting
  3104. a link error and I can't figure out why. Here's what I did:
  3105.  
  3106. 1. Moved all #includes, #defines, and prototypes into a .h file (call it
  3107. foo.h) which each source file (call them foo.c and bar.c) will include.
  3108.  
  3109. 2. I kept the global declarations in foo.c (the one that has main() ) but
  3110. added extern declarations of them in foo.h so the other source files can
  3111. access them.
  3112.  
  3113. 3. I cut a set of related functions out of foo.c and put them in bar.c
  3114. (making sure bar.c #includes foo.h)
  3115.  
  3116. Now there is a function called DoVolumeMenu() that is in foo.c but it gets
  3117. called in bar.c. When I try to update the project everything compiles OK,
  3118. but it gives me a link error and says that DoVolumeMenu() is undefined, but
  3119. I can see the prototype to it right there in foo.h. I even tried copying
  3120. the prototype directly into bar.c and I still got the same error.
  3121.  
  3122. Another strange thing is that DoVolumeMenu() is not the first function in
  3123. foo.c that gets called in bar.c.
  3124.  
  3125. Any ideas?
  3126. BTW I'm using SC++ 7.0.1 (or is it 7.0.2? -- well with the update)
  3127.  
  3128.  
  3129.  ______
  3130. /\__  _\                | Greg Vaughn
  3131. \/_/\ \/ exas           | Physics Grad Student, Insulator Research Lab
  3132.    \ \_\ ech University | Finger: greg@scm41-2.phys.ttu.edu
  3133.     \/_/ Lubbock, Texas | E-Mail: ribtm@ttacs.ttu.edu
  3134.  
  3135.  
  3136. >From hs47+@andrew.cmu.edu 8 Jun 94 15:34:49 GMT
  3137. Path: ucivax!gateway
  3138. From: hs47+@andrew.cmu.edu (Hong Shi)
  3139. Subject: Help: H.Level Events
  3140. Message-ID: <9406080834.aa22391@q2.ics.uci.edu>
  3141. Newsgroups: fa.think-c
  3142. X-Message-ID: <EhxSH8u00iUyI32lNp@andrew.cmu.edu>
  3143. Approved: usenet@q2.ics.uci.edu
  3144. Lines: 27
  3145. Date: 8 Jun 94 15:34:49 GMT
  3146.  
  3147. I have these in my program:
  3148.  
  3149.         TargetID        myTarg;
  3150.         long            myRefCon,len;
  3151.         Ptr                     myBuff;
  3152.         OSErr           myErr;
  3153.  
  3154.         len = 0;
  3155.         myBuff = NULL;
  3156.         cursorRgn = NewRgn();
  3157.  
  3158. ..
  3159.         myErr = AcceptHighLevelEvent(&myTarg,&myRefCon,myBuff,&len);
  3160.         if (myErr == bufferIsSmall){
  3161.         myBuff = NewPtr(len);
  3162.      myErr = AcceptHighLevelEvent(&myTarg,&myRefCon,myBuff,&len);
  3163.         }
  3164.  
  3165. When I compile it using Symantec C++ 6.0, I always got the error which
  3166. sais the second param of AcceptHighLevelEvent() does not match
  3167. prototype, I checked Inside Macintosh and the second param is VAR
  3168. LongInt, so I don't know what's wrong, I also tried only myRefCon (no
  3169. &), same error, does anybody has any idea?
  3170.  
  3171. Thanks ahead.
  3172.  
  3173. Hong
  3174. >From swenson@skivs.ski.org 8 Jun 94 18:40:54 GMT
  3175. Path: ucivax!gateway
  3176. From: swenson@skivs.ski.org (Kirk Swenson)
  3177. Subject: Re: Problem: Update v6.0.1 --> v7.0
  3178. Message-ID: <9406081140.aa04822@q2.ics.uci.edu>
  3179. Content-Type: text/plain; charset="us-ascii"
  3180. Mime-Version: 1.0
  3181. Newsgroups: fa.think-c
  3182. X-Message-ID: <9406081841.AA28607@skivs.ski.org>
  3183. Approved: usenet@q2.ics.uci.edu
  3184. Lines: 49
  3185. Date: 8 Jun 94 18:40:54 GMT
  3186.  
  3187. >Hello.  Recently, I updated my Symantec C++ v6.0 for Macintosh to v6.0.1.
  3188. > And, I downloaded v7.0 update patch, and followed the instruction to update.
  3189. > However, when I re-precompile TCLHeaders++ from the file "TCL #include.cp",
  3190. >I got this warning message from the compiler:
  3191. >
  3192. >File <Exceptions.h>; Line 71; While Compiling <TCL #includes.cp>
  3193. >Warning: unrecognized pragma
  3194. >
  3195. >In the file "Exceptions.h" at line 71 contains following:
  3196. >
  3197. >#pragma nooptimize(CatchException)
  3198. >
  3199. >Although the compiler gives this message, it lets me save precompiled file.
  3200. > But will it be a problem in the future?
  3201.  
  3202. We had the same problem and I spent more time than I would have liked
  3203. trying to sort out the answer.  There is a note in the most recent MacTech
  3204. magazine in the THINK Top 10 section about this and other problems that
  3205. occur when upgrading.  The "pragma nooptimize" is not recognized by the C++
  3206. compiler, as the error message suggests.  Earlier versions of the compiler
  3207. just let unrecognized pragmas go by without flagging them.  The new version
  3208. gives you the option of flagging them or not, but defaults to giving the
  3209. warnings.  (It's among the preferences for warnings.)  I assume that they
  3210. are aware that the C++ compiler may try to optimize where they didn't want
  3211. the C compiler to be doing so, and don't expect any problems as a result,
  3212. but I don't recall the article saying so explicitly.  Several other
  3213. potential problems with the upgrade procedure were also described, but I
  3214. don't have it in front of me so I can't be more specific.
  3215.  
  3216. In general, I am not impressed with Symantec's handling of their last few
  3217. upgrades.  Version 7 was supposed to make us all forget the problems that
  3218. plagued version 6.  While the code generation problems may have been solved
  3219. (I haven't used version 7 enough to speak from experience), the resource
  3220. hacking and other ridiculous aspects of the version 7 upgrade do not
  3221. inspire confidence.  Furthermore, you'd think that they would have tested
  3222. the upgrade procedure sufficiently to anticipate that when everyone got the
  3223. same error/warning messages when recompiling their headers and libraries,
  3224. that they'd want to know why.  Yet I can't find any mention of such
  3225. problems in the upgrade docs.  I suppose I should be glad they could find
  3226. the time to explain some of these issues in the MacTech article.  If
  3227. Symantec is trying to clean up its act to prevent losing market share to
  3228. CodeWarrior, I'm not impressed with the effort.
  3229.  
  3230. Kirk Swenson
  3231. Smith-Kettlewell Eye Research Institute
  3232. San Francisco, CA
  3233. swenson@skivs.ski.org
  3234.  
  3235.  
  3236. >From winter@ai.rl.af.mil 8 Jun 94 20:18:37 GMT
  3237. Path: ucivax!gateway
  3238. From: winter@ai.rl.af.mil (Jim Wintermyre)
  3239. Subject: Keith Rose, are you out there?
  3240. Message-ID: <9406081318.aa10913@q2.ics.uci.edu>
  3241. Newsgroups: fa.think-c
  3242. X-Message-ID: <199406082018.QAA13463@jose.AI.RL.AF.MIL>
  3243. Approved: usenet@q2.ics.uci.edu
  3244. Lines: 4
  3245. Date: 8 Jun 94 20:18:37 GMT
  3246.  
  3247. Sorry for posting this to the list, but I lost the address I was trying to
  3248. respond to.  So, Keith Rose, if you are out there, what is you email address?
  3249.  
  3250. Jim
  3251. >From larry@rhythm.com 8 Jun 94 23:27:42 GMT
  3252. Path: ucivax!gateway
  3253. From: larry@rhythm.com (Larry Weinberg)
  3254. Subject: TPM using memory
  3255. Message-ID: <9406081627.aa21963@q2.ics.uci.edu>
  3256. Newsgroups: fa.think-c
  3257. X-Message-ID: <9406082327.AA07497@rhythm.com>
  3258. Approved: usenet@q2.ics.uci.edu
  3259. Lines: 20
  3260. Date: 8 Jun 94 23:27:42 GMT
  3261.  
  3262.  
  3263. Every time I compile my project, the Think Project Manager is
  3264. using up more memory (usually about 800k per compile).  After
  3265. a few iterations, I run out of memory.
  3266.  
  3267. I am using version 7.0.1 of TPM  (Full installation from diskettes).
  3268.  
  3269. Is this happening to everybody and therefore a known bug,  or am
  3270. I doing something special that is causing it?
  3271.  
  3272. I have a pretty large project and am storing debug info seperately.
  3273. I am also compiling for 68881 fpu.
  3274.  
  3275. Thanks for any insights...
  3276.  
  3277. Larry
  3278. Larry Weinberg                          Rhythm & Hues, Inc.
  3279. INTERNET:   larry@rhythm.com
  3280. We can't all, and some of us don't.  That's all there is to it.  -- Eeyore
  3281.  
  3282. >From abarne1@gl.umbc.edu 8 Jun 94 23:40:26 GMT
  3283. Path: ucivax!gateway
  3284. From: abarne1@gl.umbc.edu (barnett aaron)
  3285. Subject: color problem
  3286. Message-ID: <9406081640.aa23403@q2.ics.uci.edu>
  3287. Newsgroups: fa.think-c
  3288. X-Message-ID: <199406082323.TAA02399@umbc9.umbc.edu>
  3289. Approved: usenet@q2.ics.uci.edu
  3290. Lines: 12
  3291. Date: 8 Jun 94 23:40:26 GMT
  3292.  
  3293. ive got an offscreen bitmap that is 8-bit depth
  3294. im moving relevent pieces of it into a window
  3295. well, when i set the monitor to lesser bit-depths
  3296. (i dont have the ability to test more...)
  3297. the colors are all wacked out.
  3298. i do have a custom pallete applied to the window.
  3299. help?
  3300.  
  3301.  
  3302. \.
  3303. aaron <abarne1@gl.umbc.edu>
  3304. "It's a safety mechanism, the mind shuts off."
  3305. >From kirk_crawford@qmail2.aero.org 8 Jun 94 23:45:32 GMT
  3306. Path: ucivax!gateway
  3307. From: kirk_crawford@qmail2.aero.org (Kirk Crawford)
  3308. Subject: Symantec C 7 Prefs File for
  3309. Message-ID: <9406081645.aa24014@q2.ics.uci.edu>
  3310. Newsgroups: fa.think-c
  3311. X-Message-ID: <94Jun8.164511pdt.111120-3@aero.org>
  3312. Approved: usenet@q2.ics.uci.edu
  3313. Lines: 11
  3314. Date: 8 Jun 94 23:45:32 GMT
  3315.  
  3316. Subject:  Symantec C 7 Prefs File for McCLint
  3317. Does anyone have a prefs file set up for McCLint to work with Symantec C v7?
  3318.  
  3319. I just got McCLint and it came with one for TC5, and there are some symbols
  3320. that I think need to be defined.
  3321.  
  3322. Kirk Crawford
  3323. The Aerospace Corp
  3324.  
  3325.  
  3326.  
  3327. >From SJKim@aol.com 9 Jun 94 01:51:52 GMT
  3328. Path: ucivax!gateway
  3329. From: SJKim@aol.com
  3330. Subject: Re: Problem: Update v6.0.1 --> v7.0
  3331. Message-ID: <9406081851.aa02798@q2.ics.uci.edu>
  3332. X-Mailer: America Online Mailer
  3333. Newsgroups: fa.think-c
  3334. X-Message-ID: <9406082151.tn986490@aol.com>
  3335. Approved: usenet@q2.ics.uci.edu
  3336. Lines: 27
  3337. Date: 9 Jun 94 01:51:52 GMT
  3338.  
  3339. ATTN: Kirk Swenson,Smith-Kettlewell Eye Research Institute, San Francisco, CA
  3340.   swenson@skivs.ski.org
  3341.  
  3342. First of all, thanks for the answer.
  3343. ++++++++++++++++++++++++++++
  3344. >> The "pragma nooptimize" is not recognized by the C++
  3345. compiler, as the error message suggests.  Earlier versions of the compiler
  3346. just let unrecognized pragmas go by without flagging them.  The new version
  3347. gives you the option of flagging them or not, but defaults to giving the
  3348. warnings.  (It's among the preferences for warnings.
  3349. ++++++++++++++++++++++++++++++++
  3350.  
  3351. But, "Exception.h" is written by Symantec, which included in Symantec C++
  3352. v6.0.  And, in the manual(Think C/Symantec C++ User's Guide, pp323):
  3353.  
  3354. "The pragma nooptimize directive
  3355.  
  3356. The nooptimize pragma directive allows the apperance of a call to a function
  3357. to disable global and register optimizations for the function that makes the
  3358. call.  The directive disables register opmitmizations by turning off
  3359. automatic registerr assignment and honoring register declarations.  ......."
  3360.  
  3361. As in the manual, "nooptimize" directive is a valid pragma, and *should* be
  3362. recognized by the compiler.  Right?  or, am I missing something?
  3363.  
  3364. -sjkim@aol.com
  3365.  
  3366. >From jaho@secrc.abb.se 9 Jun 94 12:00:40 GMT
  3367. Path: ucivax!gateway
  3368. From: jaho@secrc.abb.se (Jan Hoeglund)
  3369. Subject: Problem with "static char *" in THINK C 5.0
  3370. Message-ID: <9406090500.aa10883@q2.ics.uci.edu>
  3371. Newsgroups: fa.think-c
  3372. X-Message-ID: <9406091200.AA19576@keb11.secrc.abb.se>
  3373. Approved: usenet@q2.ics.uci.edu
  3374. Lines: 33
  3375. Date: 9 Jun 94 12:00:40 GMT
  3376.  
  3377. I've converted some Lightspeed C 3.0 code to TC5. Everything
  3378. works fine except when a "static char *" is used in a call
  3379. to TESetText() (see below). Strlen() doens't return the
  3380. correct value. I cannot figure out why. Any help is greatly
  3381. appreciated! (Please, answer directly to my address.)
  3382.  
  3383. /************** First file *****************/
  3384. static char *text = "\
  3385. \r\
  3386.   ... 200 lines of text (about 6 kbytes) ...
  3387. \r\
  3388. ";
  3389.  
  3390. void doText()
  3391. {
  3392.   ...
  3393.   setText(text, (long)strlen(text));
  3394.   ...
  3395. }
  3396. /************* Second file ******************/
  3397. void setText(text, len)
  3398. char *text;
  3399. long len;
  3400. {
  3401.   TEHandle th;
  3402.   ...
  3403.   TESetText((Ptr)text, len, th);
  3404.   ...
  3405. }
  3406. /********************************************/
  3407.  
  3408. Jan
  3409. jaho@secrc.abb.se
  3410. >From ribtm@ttacs1.ttu.edu 9 Jun 94 20:05:51 GMT
  3411. Path: ucivax!gateway
  3412. From: ribtm@ttacs1.ttu.edu (Greg Vaughn)
  3413. Subject: RE: Help with link errors
  3414. Message-ID: <9406091305.aa10551@q2.ics.uci.edu>
  3415. Content-transfer-encoding: 7BIT
  3416. Content-type: text/plain; charset="us-ascii"
  3417. MIME-version: 1.0
  3418. Newsgroups: fa.think-c
  3419. X-Message-ID: <01HDCCCH9EDI9D8RL8@ttacs.ttu.edu>
  3420. Approved: usenet@q2.ics.uci.edu
  3421. Lines: 20
  3422. Date: 9 Jun 94 20:05:51 GMT
  3423.  
  3424. Thanks to everyone who replied. I was able to fix my problem. As several of
  3425. you pointed out I was using static functions. I was following some example
  3426. code when I started my project and it used static functions. I wasn't sure
  3427. what they did at the time, but now I know. I've only been programming in C
  3428. for about 6 months, so please excuse the newbie error. It has been a
  3429. learning experience.
  3430.  
  3431. I'm still working on trying the suggestions with my global variables some
  3432. of you mentioned.
  3433.  
  3434. Thanks again.
  3435.  
  3436.  
  3437.  ______
  3438. /\__  _\                | Greg Vaughn
  3439. \/_/\ \/ exas           | Physics Grad Student, Insulator Research Lab
  3440.    \ \_\ ech University | Finger: greg@scm41-2.phys.ttu.edu
  3441.     \/_/ Lubbock, Texas | E-Mail: ribtm@ttacs.ttu.edu
  3442.  
  3443.  
  3444. >From TPZ4@vm.cnuce.cnr.it 10 Jun 94 12:25:16 GMT
  3445. Path: ucivax!gateway
  3446. From: TPZ4@vm.cnuce.cnr.it (Rodolfo Cardarelli)
  3447. Subject: More debugger problems
  3448. Message-ID: <9406100525.aa03440@q2.ics.uci.edu>
  3449. Newsgroups: fa.think-c
  3450. X-Message-ID: <9406100525.aa03440@q2.ics.uci.edu>
  3451. Approved: usenet@q2.ics.uci.edu
  3452. Lines: 9
  3453. Date: 10 Jun 94 12:25:16 GMT
  3454.  
  3455. I solved the "SIZE" problem, and now the Think Debugger seems to work.
  3456. This is not true anyway for projects using TCL. I rebuilt all the libraries
  3457. and included the TCL DEBUG prefix. Is there anything else I should know?
  3458. The debugger launches but just hangs forever.
  3459. By the way, for people who asked, in particular Steve Madancy, the file with
  3460. the explanation for the SIZE resource is in sumex under:
  3461. /info-mac/dev/think-c-70-patch-readme.txt
  3462. Thank you in advance for any help
  3463. Rodolfo
  3464. >From custer@wrgrace.com 11 Jun 94 13:51:44 GMT
  3465. Path: ucivax!gateway
  3466. From: custer@wrgrace.com
  3467. Subject: 7.0 and project models
  3468. Message-ID: <9406110651.aa14565@q2.ics.uci.edu>
  3469. Newsgroups: fa.think-c
  3470. X-Message-ID: <0097FC97.E503C5C0.18415@wrc.wrgrace.com>
  3471. Approved: usenet@q2.ics.uci.edu
  3472. Lines: 16
  3473. Date: 11 Jun 94 13:51:44 GMT
  3474.  
  3475. When I launch Think C project manager 7.0.1 and then ask for a new project, I
  3476. receive the list of possibilities (ANSI, Mac Application, etc.).  I then name
  3477. the project.  The folder is created, but then I get the modal bug dialog box
  3478. saying that "The project test.p is not a text file."  (I named the project
  3479. 'test' and the 'p' is really the Greek pi symbol.)
  3480.  
  3481. What have I done wrong?
  3482.  
  3483. I have Think C installed pretty much identically on my PowerBook, and I don't
  3484. have this problem there.  It only happens on my Quadra.  I purchased 6.0 and
  3485. upgraded to 7.0.2 over the net.
  3486.  
  3487. Thanks in advance for any assistance.
  3488.  
  3489. Linda Custer
  3490. <custer@wrc.wrgrace.com>
  3491. >From udsugar@cerebrum.impaqt.drexel.edu 12 Jun 94 07:10:05 GMT
  3492. Path: ucivax!gateway
  3493. From: udsugar@cerebrum.impaqt.drexel.edu (Dave Sugar)
  3494. Subject: Comm Toolbox Help
  3495. Message-ID: <9406120010.aa03502@q2.ics.uci.edu>
  3496. Newsgroups: fa.think-c
  3497. X-Message-ID: <9406120709.AA29746@impaqt.drexel.edu>
  3498. Approved: usenet@q2.ics.uci.edu
  3499. Lines: 43
  3500. Date: 12 Jun 94 07:10:05 GMT
  3501.  
  3502.  
  3503.   I'm working on an application where I am using the CommToolBox to read
  3504. data off of the serial port.  But, I need to read from it a 'line' at a
  3505. time.  Where a line is defined as text with a "/r/n" at the end of it
  3506. (most of the time)..
  3507.  
  3508.   I am writing an interface for a serial device and it sends human readable
  3509. text which I am parsing and filling structures based on the data that
  3510. comes in from the serial port.
  3511.  
  3512.   What I was doing, which was working just fine on a Centris 650 was to
  3513. have a function that would read a character at a time off of the serial
  3514. port untill it encountered a '/r' telling that I had reached the end of
  3515. the line.  It would return that line.  Then I do whatever I need to parse
  3516. the line and get the next one.
  3517.  
  3518.   Now, that was just fine on a Centris and Quadra.  But I was making sure
  3519. that the program would work on older machines and I got my friends Plus
  3520. and was playing around and it died a horrible death.  What it seems is
  3521. happening when using that same scenereo (sp??) is that I will loose data
  3522. somewhere.
  3523.  
  3524.   What I really need is some function that will help me just read data off
  3525. the serial port, stick it into some buffer in memory, or I need a way to
  3526. read quicker.  What I have been thinking is that if I could see how much
  3527. data was in the buffer read that much data and continue along on my merry
  3528. way.  That does not work because there is not necessarily any data in the
  3529. buffer at the time I call CMStatus (to see how much data is there for me
  3530. to read)..
  3531.  
  3532.   I'm looking for any sort of suggestions that someone might have who has
  3533. done something simular.  I am kind of familiar with the CommToolBox now,
  3534. and I seem to think that te CMAddSearch should be able to do something
  3535. like what I want but it doesn't seem to be working at all..
  3536.  
  3537.   Oh, just a little note, this serial device does not seem to support
  3538. such things as Control-S to pause and Control-Q to resume sending data.
  3539. It just ignores it and keeps the data right on comming..
  3540.  
  3541.   Anyway, Any help much appriciated..
  3542.   Dave Sugar
  3543.   udsugar@impaqt.drexel.edu
  3544.  
  3545. >From JeffC@cc.snow.edu 12 Jun 94 17:06:06 GMT
  3546. Path: ucivax!gateway
  3547. From: JeffC@cc.snow.edu ("Jeffrey K. Carney")
  3548. Subject: TE Tab Support
  3549. Message-ID: <9406121006.aa27785@q2.ics.uci.edu>
  3550. Content-Type: text/plain; charset="us-ascii"
  3551. Mime-Version: 1.0
  3552. Newsgroups: fa.think-c
  3553. X-Message-ID: <9406121005.aa27785@q2.ics.uci.edu>
  3554. Approved: usenet@q2.ics.uci.edu
  3555. Lines: 14
  3556. Date: 12 Jun 94 17:06:06 GMT
  3557.  
  3558. Hey, folks.  I was rather interested in TE32K for a while because it
  3559. claimed to support tabs, which normal TE doesn't do.  Looking over its
  3560. sample program, though, I realized that tab support is quite buggy.  Source
  3561. code is provided, so I guess I could modify the tabs...
  3562.  
  3563. but I was really hoping someone knew of a library <or something> out there
  3564. that would provide real tab support for ordinary TE.  IM suggests that it
  3565. can be done, so I was hoping it had been.
  3566.  
  3567. BTW: I have already jury-rigged a system, and it works, but it's clunky.
  3568.  
  3569. Thanks, Jeff
  3570.  
  3571.  
  3572. >From de19@umail.umd.edu 13 Jun 94 01:59:24 GMT
  3573. Path: ucivax!gateway
  3574. From: de19@umail.umd.edu (Dana S Emery)
  3575. Subject: Re: TE Tab Support
  3576. Message-ID: <9406121859.aa09227@q2.ics.uci.edu>
  3577. In-Reply-To: Your message <9406121006.aa27785@q2.ics.uci.edu> of 12 Jun 94
  3578.  17:06:06 GMT
  3579. Content-Type: TEXT/plain; charset=US-ASCII
  3580. Newsgroups: fa.think-c
  3581. X-Message-ID: <Mailstrom.1.05.13743.15089.de19@umailsrv0.umd.edu>
  3582. Approved: usenet@q2.ics.uci.edu
  3583. Lines: 21
  3584. Date: 13 Jun 94 01:59:24 GMT
  3585.  
  3586. >   BTW: I have already jury-rigged a system, and it works,
  3587. >   but it's clunky.
  3588. [Jeffrey K. Carney" <JeffC@cc.snow.edu> claims to have
  3589. developed TE based tab support]
  3590.  
  3591. Jeffrey:
  3592.  
  3593. Do you handle tabs by translating them to spaces, or do you
  3594. support the <tab> character in-line?
  3595.  
  3596. Physical position on page or char-count?
  3597.  
  3598. How does it behave when a tab in the text calls for positioning
  3599. beyond the line wrap point?  As I recall this is the killer for
  3600. most TE-based tab support schemes, and it isnt clear exactly
  3601. what the user expects there anyway.
  3602.  
  3603. Boy wouldnt it be nice if apple only would...
  3604. --
  3605. dana s emery <de19@umail.umd.edu>
  3606.  
  3607. >From pindar3@cix.compulink.co.uk 13 Jun 94 12:02:41 GMT
  3608. Path: ucivax!gateway
  3609. From: pindar3@cix.compulink.co.uk (Pindar Infotek Ltd)
  3610. Subject: FSpCatMove
  3611. Message-ID: <9406130502.aa08720@q2.ics.uci.edu>
  3612. Newsgroups: fa.think-c
  3613. Reply-To: pindar3@cix.compulink.co.uk
  3614. X-Message-ID: <memo.366275@cix.compulink.co.uk>
  3615. Approved: usenet@q2.ics.uci.edu
  3616. Lines: 48
  3617. Date: 13 Jun 94 12:02:41 GMT
  3618.  
  3619.  
  3620. >From Pindar user Ian McCall
  3621.  
  3622. Subject: _FSpCatMove
  3623. I'm having a very strange problem with FSpCatMove. I'm passing it a
  3624. perfectly valid couple of FSSpecs (both of which have been used
  3625. previously in my routine), yet it is returning -43, fnfErr.
  3626.  
  3627. According to THINK Reference, this is returned when the source file
  3628. could not be found. However, the source file -is- there. Just to
  3629. re-assure myself of that point, I stuck an FSpOpenDF call directly in
  3630. front of the call to FSpCatMove (closing the file straight aftwards).
  3631. This worked fine - a result of noErr was returned.
  3632.  
  3633. The following code gives an example of my problem. It is -not- a
  3634. direct copy of my code (which determines the FSSpec details from
  3635. assorted parameters), but is a faithful reproduction of its essence.
  3636.  
  3637.  
  3638. OSErr ProblemExample(FSSpecPtr sourceSpec, FSSpecPtr destSpec)
  3639. {
  3640.    long    sourceFRefNum;
  3641.    OSErr   theResult;
  3642.  
  3643.  
  3644.    theResult = FSpOpenDF(sourceSpec, fsRdWrPerm, &sourceFRefNum);
  3645.    FSClose(sourceFRefNum);
  3646.  
  3647.    if(theResult != noErr)
  3648.       return(theResult);
  3649.  
  3650.    theResult = FSpCatMove(&sourceSpec, &destSpec);
  3651.    return(theResult);   <--- theResult == -43 (fnfErr) at this
  3652.                               point
  3653. }
  3654.  
  3655. Any ideas? I -know- the FSSpecs are correct.
  3656.  
  3657.  
  3658. Ian
  3659.  
  3660.  
  3661.  
  3662.  
  3663. ---
  3664. Please make 'Attn:<space>Ian McCall' the first line of your reply
  3665. (not the subject) to ensure automatic forwarding to the correct
  3666. Pindar user.
  3667. >From JeffC@cc.snow.edu 13 Jun 94 15:25:18 GMT
  3668. Path: ucivax!gateway
  3669. From: JeffC@cc.snow.edu ("Jeffrey K. Carney")
  3670. Subject: Re: TE Tab Support
  3671. Message-ID: <9406130825.aa14734@q2.ics.uci.edu>
  3672. Content-Type: text/plain; charset="us-ascii"
  3673. Mime-Version: 1.0
  3674. Newsgroups: fa.think-c
  3675. X-Message-ID: <9406130825.aa14734@q2.ics.uci.edu>
  3676. Approved: usenet@q2.ics.uci.edu
  3677. Lines: 40
  3678. Date: 13 Jun 94 15:25:18 GMT
  3679.  
  3680. >Do you handle tabs by translating them to spaces, or do you
  3681. >support the <tab> character in-line?
  3682.  
  3683. You won't believe what I do.  I hardly believe it.  See, I hate apps that
  3684. just substitute 5 spaces for a tab.  It's awkward when editing, and a pain
  3685. when transferring data to another app that does support tabs, since now you
  3686. have to change all your 5-space runs to real tabs.  But trying to figure
  3687. real tabs is not easy.
  3688.  
  3689. So I strike a compromise.  In place of a tab, I write 5 spaces bracketed by
  3690. a null on each end.  Now I intercept all editing characters.  If an arrow
  3691. key places me in the tab "field" I jump the cursor to the opposite side; to
  3692. the user, it looks like a single character.  A mousedown in the field will
  3693. also put the cursor to the nearest edge of the field.  (the nulls, btw,
  3694. differentiate my tab field from any other collection of spaces which a user
  3695. may deliberately intend as spaces.)  A delete from either end deletes the
  3696. whole field at once; likewise, selecting any part of the field will select
  3697. the whole field.  I forget how I did it, but line wraps always treat the
  3698. field as a word, so it wraps all at once.
  3699.  
  3700. Here's the kicker: when cutting and pasting, you'll want other apps to see
  3701. just a <tab>, not a field of weird chars, so I provide a filter that
  3702. translates the field to an oridnary <tab> or back again depending on the
  3703. operation.  This makes it all as invisible as possible.
  3704.  
  3705. Two drawbacks.  When an editing key jumps the cursor from one side of the
  3706. "tab" to the other, the cursor blinking loses its cadence; this is minor,
  3707. but noticeable if you're an anal retentive programmer.  More important, as
  3708. you might guess, the tab does not stay aligned with any fixed interval;
  3709. rather, like a group of five spaces, it will start and finish anywhere.
  3710. And that is the thing I had hoped to fix with something like TE32K, since
  3711. at best all I've provided is a pseudotab.
  3712.  
  3713. {The other problem with TE32K, which makes it maybe not worth hacking, is
  3714. that it doesn't support multi-styled text, and though I haven't plunged
  3715. into that yet, I may want to.}
  3716.  
  3717. Jeff
  3718.  
  3719.  
  3720. >From Brian.Bezanson@macsrv.mgi.com 13 Jun 94 16:54:44 GMT
  3721. Path: ucivax!gateway
  3722. From: Brian.Bezanson@macsrv.mgi.com (Brian Bezanson)
  3723. Subject: RE>7.0 and project models
  3724. Message-ID: <9406130954.aa20152@q2.ics.uci.edu>
  3725. X-Mailer: InterCon Dispatcher/SMTP for QuickMail
  3726. Newsgroups: fa.think-c
  3727. X-Message-ID: <199406131155237435@macsrv.mgi.com>
  3728. Approved: usenet@q2.ics.uci.edu
  3729. X-Priority: 4
  3730. Lines: 42
  3731. Date: 13 Jun 94 16:54:44 GMT
  3732.  
  3733. Date    6/13/94
  3734. Subject RE>7.0 and project models
  3735. From    Brian Bezanson
  3736. To      custer, think-c
  3737.  
  3738.         Reply to:   RE>7.0 and project models
  3739. This is a wierd bug that isn't easy to reproduce. Once you have it, you seem
  3740. to have it for a while but when it's gone you just can't easily reproduce it.
  3741. At least that's what I said/found out during the beta cycle when I had the
  3742. same problem on my 950 and 840AV. Haven't tried it in 7.0.2 with a new update
  3743. to 7.0 that I recently did. Didn't seem to be affected by INITs at all, maybe
  3744. a Desktop rebuild?
  3745.  
  3746. Brian
  3747.  
  3748. --------------------------------------
  3749.  
  3750. When I launch Think C project manager 7.0.1 and then ask for a new project, I
  3751.  
  3752. receive the list of possibilities (ANSI, Mac Application, etc.).  I then name
  3753.  
  3754. the project.  The folder is created, but then I get the modal bug dialog box
  3755. saying that "The project test.p is not a text file."  (I named the project
  3756. 'test' and the 'p' is really the Greek pi symbol.)
  3757.  
  3758. What have I done wrong?
  3759.  
  3760. I have Think C installed pretty much identically on my PowerBook, and I don't
  3761.  
  3762. have this problem there.  It only happens on my Quadra.  I purchased 6.0 and
  3763. upgraded to 7.0.2 over the net.
  3764.  
  3765. Thanks in advance for any assistance.
  3766.  
  3767. Linda Custer
  3768. <custer@wrc.wrgrace.com>
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774.  
  3775. >From MikeL@eworld.com 13 Jun 94 22:31:06 GMT
  3776. Path: ucivax!gateway
  3777. From: MikeL@eworld.com
  3778. Subject: Code Warrior
  3779. Message-ID: <9406131531.aa12567@q2.ics.uci.edu>
  3780. X-Mailer: AOS Mailer
  3781. Newsgroups: fa.think-c
  3782. X-Message-ID: <9406122015.tn82088@eworld.com>
  3783. Approved: usenet@q2.ics.uci.edu
  3784. Lines: 10
  3785. Date: 13 Jun 94 22:31:06 GMT
  3786.  
  3787. I just ordered MetroWerks Code Warrior yesterday. What has eveyone else out
  3788. there heard about it?
  3789.  
  3790.  
  3791.  
  3792. Thanks,
  3793.  
  3794.  
  3795. Mike
  3796.  
  3797. >From Mhteas@aol.com 15 Jun 94 05:22:43 GMT
  3798. Path: ucivax!gateway
  3799. From: Mhteas@aol.com
  3800. Subject: Re: Help: H.Level Events
  3801. Message-ID: <9406142222.aa11677@q2.ics.uci.edu>
  3802. X-Mailer: America Online Mailer
  3803. Newsgroups: fa.think-c
  3804. X-Message-ID: <9406092207.tn1029898@aol.com>
  3805. Approved: usenet@q2.ics.uci.edu
  3806. Lines: 24
  3807. Date: 15 Jun 94 05:22:43 GMT
  3808.  
  3809. Hong,
  3810.  
  3811. The AcceptHighLevelEvent() trap has the following declaration from EPPC.h:
  3812.  
  3813. pascal OSErr AcceptHighLevelEvent(TargetID *sender,
  3814.                                   unsigned long *msgRefcon,
  3815.                                   Ptr msgBuff,
  3816.                                   unsigned long *msgLen)
  3817.  
  3818.  
  3819. The second and third parms are "unsigned long *", you've declared those
  3820. variables as "long" in your routine.  These two are different types and this
  3821. is what the compiler's compaining about.  Change your declaration of
  3822. mgsRefCon and msgLen to unsigned long  and it'll work.
  3823.  
  3824. Remember the compiler compares these things to the include files, not IM.
  3825.  Small differences have occasionally happened between the two.  When I get a
  3826. conflict like this, I'll always check the .h files.
  3827.  
  3828. Malcolm Teas
  3829. Teas Technology - Custom software for the Mac and Newton.
  3830. mhteas@aol.com
  3831.  
  3832.  
  3833. >From Mhteas@aol.com 15 Jun 94 05:23:07 GMT
  3834. Path: ucivax!gateway
  3835. From: Mhteas@aol.com
  3836. Subject: Re: Help with link error
  3837. Message-ID: <9406142223.aa11724@q2.ics.uci.edu>
  3838. X-Mailer: America Online Mailer
  3839. Newsgroups: fa.think-c
  3840. X-Message-ID: <9406092208.tn1029906@aol.com>
  3841. Approved: usenet@q2.ics.uci.edu
  3842. Lines: 16
  3843. Date: 15 Jun 94 05:23:07 GMT
  3844.  
  3845. Greg,
  3846.  
  3847. Sounds like you did all the right things in making your .h file.  The
  3848. DoVolumeMenu() prototype probably just has a typo in it.  This happens to me
  3849. occasionally too.  My fix is to copy-and-paste the actual definition of the
  3850. DoVolumeMenu() function into the .h file, then put the ";" after it.  This
  3851. clears up typos.
  3852.  
  3853. If this doesn't fix it, email me w/ the relevant code fragements and I'll
  3854. look at it for you.
  3855.  
  3856. Malcolm Teas        Teas Technology
  3857. mhteas@aol.com      Custom Mac or Newton software by contract
  3858.  
  3859.  
  3860.  
  3861. >From dittmer@fokus.uke.uni-hamburg.de 15 Jun 94 05:24:09 GMT
  3862. Path: ucivax!gateway
  3863. From: dittmer@fokus.uke.uni-hamburg.de (Ulf Dittmer)
  3864. Subject: MPW <-> TC differences ?
  3865. Message-ID: <9406142224.aa11815@q2.ics.uci.edu>
  3866. X-Vms-Cc: DITTMER
  3867. Newsgroups: fa.think-c
  3868. X-Message-ID: <9406100956.AA06846@fbihh.informatik.uni-hamburg.de>
  3869. Approved: usenet@q2.ics.uci.edu
  3870. X-Vms-To: SMTP%"think-c-request@ics.uci.edu"
  3871. Lines: 20
  3872. Date: 15 Jun 94 05:24:09 GMT
  3873.  
  3874. Hi netters,
  3875.  
  3876. I stumbled upon a situation where code compiled under MPW (3.3 on
  3877. a Q840AV) does as expected whereas the same code compiled under
  3878. Think C (7.0.1 on Q650) does not. This is what I do:
  3879.  
  3880. I have a Handle containing around 90KB. I can retrieve its contents
  3881. just fine. Then I transfer it to a QuickTime movie file using the
  3882. QT call "AddMediaSample". The problem is, the THINK C compiled code
  3883. will transfer only 64K and stuff the remaining space with garbage
  3884. as a file examination reveals. The MPW compiled code does what it
  3885. should do. I have not checked whether the MPW code does run on the
  3886. Q650 and vice-versa but I think that should make no difference.
  3887.  
  3888. Has anybody seen something like this or might there be a limitation
  3889. for the THINK environment. I would be thankful for very hint you
  3890. can supply.
  3891.  
  3892. Greetings,      Ulf
  3893. dittmer@uke.uni-hamburg.de
  3894. >From NASA12@aol.com 16 Jun 94 05:48:29 GMT
  3895. Path: ucivax!gateway
  3896. From: NASA12@aol.com
  3897. Subject: music in c
  3898. Message-ID: <9406152248.aa27244@q2.ics.uci.edu>
  3899. X-Mailer: America Online Mailer
  3900. Newsgroups: fa.think-c
  3901. X-Message-ID: <9406160137.tn06610@aol.com>
  3902. Approved: usenet@q2.ics.uci.edu
  3903. Lines: 11
  3904. Date: 16 Jun 94 05:48:29 GMT
  3905.  
  3906. Does anyone know how I could go about coding a function in v6.0 (think) that
  3907. would accept three parameters: a character, and two integers -- The function
  3908. would then, using the Mac's speaker, play the musical note indicated by the
  3909. letter, in the octave indicated by opne int, and for a length of time
  3910. determined by the other int?  Any idea how to then write out a series of
  3911. these notes to a sound file?
  3912.  
  3913. Any input or spare code would be a great help.
  3914.  
  3915. --Adam (nasa12@aol.com or assets@aol.com)
  3916.  
  3917. >From wk01739@worldlink.com 16 Jun 94 17:24:37 GMT
  3918. Path: ucivax!gateway
  3919. From: wk01739@worldlink.com (Bill MacIntosh)
  3920. Subject: Text in Dialog boxes not appearing
  3921. Message-ID: <9406161024.aa05891@q2.ics.uci.edu>
  3922. X-Mailer: InterCon WorldLink 2.0
  3923. Content-Type: text/plain; charset=US-ASCII
  3924. Mime-Version: 1.0
  3925. Newsgroups: fa.think-c
  3926. X-Message-ID: <9406161012.AA40925@worldlink.com>
  3927. Approved: usenet@q2.ics.uci.edu
  3928. Lines: 86
  3929. Date: 16 Jun 94 17:24:37 GMT
  3930.  
  3931. The following code should produce a dialog box with one static text and one
  3932. editable text field and six buttons.  The buttons appear, but the text is
  3933. nowhere to be found.  The resource file has a DITL with ID=128 (the text
  3934. fields are items 7 and 8) and a DLOG with ID=128.  What's needed to produce
  3935. the text in the dialog box?  ShowDItem doesn't help.
  3936.  
  3937. Begin code listing ------------------------------
  3938. /***********   Function prototypes   ************/
  3939.  
  3940. void    Initialize_Toolbox( void );
  3941.  
  3942. /***********   Define global constants   ***********/
  3943.  
  3944. #define         DIALOG_ID       128
  3945. #define         DONE            1
  3946. #define         SAVE            2
  3947. #define         CLR             3
  3948. #define         MV_PNT          4
  3949. #define         CV_PNT          5
  3950. #define         DV_PNT          6
  3951.  
  3952. #define         CNTL_TEXT       7
  3953. #define         CNTL_ID         8
  3954.  
  3955. #define         NIL             0L
  3956. #define         IN_FRONT        (WindowPtr)-1L
  3957.  
  3958. #define         REMOVE_EVENTS   0
  3959.  
  3960. /*********** Define globle variables ************/
  3961.  
  3962. Boolean         all_done = FALSE;/* Defines when to stop dialog */
  3963. EventRecord     the_event;      /* Pointer to the mac events record */
  3964. DialogPtr       the_dialog;     /* Pointer to the dialog window */
  3965.  
  3966. /************  Main program listing  ************/
  3967.  
  3968. void    main( void )
  3969. {
  3970.    Initialize_Toolbox();
  3971.    the_dialog = GetNewDialog(DIALOG_ID, NIL, IN_FRONT);
  3972.    if ( the_dialog == NIL )
  3973.       {
  3974.         SysBeep( 5 );
  3975.         ExitToShell();
  3976.        }
  3977.   SetPort(the_dialog);
  3978.   ShowWindow(the_dialog);
  3979.  
  3980. /**  ShowDItem(the_dialog, STAT_TXT);  **/
  3981.   while ( all_done == FALSE )
  3982.    {
  3983.       GetNextEvent( everyEvent, &the_event );
  3984.  
  3985.       switch ( the_event.what )
  3986.       {
  3987.           case mouseDown:
  3988.                         all_done = TRUE;
  3989.                         SysBeep( 5 );
  3990.                         break;
  3991.       }
  3992.    }
  3993. }
  3994.  
  3995. /************  Initialize the Toolbox  ************/
  3996.  
  3997. void  Initialize_Toolbox( void )
  3998. {
  3999.    InitGraf( &thePort );
  4000.    InitFonts();
  4001.    InitWindows();
  4002.    InitMenus();
  4003.    TEInit();
  4004.    InitDialogs( NIL );
  4005.    FlushEvents( everyEvent, REMOVE_EVENTS );
  4006.    InitCursor();
  4007. }
  4008.  
  4009.  
  4010. Bill MacIntosh
  4011. WK01739@Worldlink.com
  4012.  
  4013. Politicians are like diapers, both should be changed regularly and for the same reason.
  4014. - graffito on a wall in Yeovil
  4015.  
  4016.  
  4017. >From GomollD@aol.com 16 Jun 94 17:55:06 GMT
  4018. Path: ucivax!gateway
  4019. From: GomollD@aol.com
  4020. Subject: RE:FSpCatMove
  4021. Message-ID: <9406161055.aa07523@q2.ics.uci.edu>
  4022. X-Mailer: America Online Mailer
  4023. Newsgroups: fa.think-c
  4024. X-Message-ID: <9406150946.tn1219125@aol.com>
  4025. Approved: usenet@q2.ics.uci.edu
  4026. Lines: 17
  4027. Date: 16 Jun 94 17:55:06 GMT
  4028.  
  4029. >Subject: _FSpCatMove
  4030. >I'm having a very strange problem with FSpCatMove. I'm passing it a
  4031. >perfectly valid couple of FSSpecs (both of which have been used
  4032. >previously in my routine), yet it is returning -43, fnfErr.
  4033.  
  4034.  
  4035. I had exactly the same problem.  I ended up solving it by changing the way I
  4036. used the fsmakefsspec call.  I supplied all the appropriate info (vol, Par
  4037. Dir Id, and filename) and got a -43 error also.
  4038.  
  4039. I needed to pass zero to the first to parameters in order to force
  4040. fsmakefsspec to "figure it out on it's own".  Once I did this it worked fine.
  4041.  
  4042. Hope this helps.
  4043.  
  4044. -gomolld@aol.com
  4045.  
  4046. >From ribtm@ttacs.ttu.edu 16 Jun 94 19:12:14 GMT
  4047. Path: ucivax!gateway
  4048. From: ribtm@ttacs.ttu.edu (Greg Vaughn)
  4049. Subject: Porting ANSI C program
  4050. Message-ID: <9406161212.aa11673@q2.ics.uci.edu>
  4051. Content-transfer-encoding: 7BIT
  4052. Content-type: text/plain; charset="us-ascii"
  4053. MIME-version: 1.0
  4054. Newsgroups: fa.think-c
  4055. X-Message-ID: <01HDM2HQNM5U9KMHN4@ttacs.ttu.edu>
  4056. Approved: usenet@q2.ics.uci.edu
  4057. Lines: 38
  4058. Date: 16 Jun 94 19:12:14 GMT
  4059.  
  4060. I've got the code to an ANSI C program that runs under unix. I'm having a
  4061. few problems getting it to run properly on a Mac with SC++ 7.0.2. I've set
  4062. the options to ANSI conformance and included the ANSI library in the
  4063. project. After some minor tweaking I got the code to compile. Now when I
  4064. run it, it brings up the console window with a couple of introductory lines
  4065. and the cursor posied for input on the next line. However, I get a system
  4066. beep when I try to press any key (except return or enter which quits the
  4067. program). The program uses a getopt.c file (freely available from the folks
  4068. at Berkely) to accept command line parameters. I don't fully understand
  4069. that, and I'm hoping some of you might be familiar with it. Could this be
  4070. doing something screwy in trying to read keypresses that runs on unix and
  4071. MSDOS, but not on a Mac console window?
  4072.  
  4073. Another question: I'm fairly new to Mac programming, but I know it is
  4074. possible to denote relative paths I've just never had the occasion before
  4075. to use them. The program needs to look for its data files in a folder
  4076. called data that is in the same folder as the app. Do I set this directory
  4077. as ".:data:"?
  4078.  
  4079. Now a more slightly general question about far data. The program attempts
  4080. to intitialize a rather large array. I've got it to under 32K by severly
  4081. decreasing the default numbers and it compiles without a code overflow
  4082. error. I thought I could increase the memory available to data by setting
  4083. the FAR DATA checkbox in the Project Info dialog. This doesn't make any
  4084. difference though. I can't use larger arrays with it on than with it off.
  4085. Does the code need to be specially written to use far data? Am I
  4086. misunderstanding far data?
  4087.  
  4088. Any help would be GREATLY appreciated.
  4089.  
  4090.  
  4091.  ______                 | Greg Vaughn
  4092. /\__  _\                | Physics Grad Student, Insulator Research Lab
  4093. \/_/\ \/ exas           | Finger: greg@scm41-2.phys.ttu.edu
  4094.    \ \_\ ech University | E-Mail: ribtm@ttacs.ttu.edu or
  4095.     \/_/ Lubbock, Texas |         greg-vaughn@unicorn.acs.ttu.edu
  4096.  
  4097.  
  4098. >From NASA12@aol.com 16 Jun 94 19:31:23 GMT
  4099. Path: ucivax!gateway
  4100. From: NASA12@aol.com
  4101. Subject: Menus
  4102. Message-ID: <9406161231.aa12646@q2.ics.uci.edu>
  4103. X-Mailer: America Online Mailer
  4104. Newsgroups: fa.think-c
  4105. X-Message-ID: <9406161531.tn23971@aol.com>
  4106. Approved: usenet@q2.ics.uci.edu
  4107. Lines: 53
  4108. Date: 16 Jun 94 19:31:23 GMT
  4109.  
  4110. Thanks to all who helped with the music thing... I have a weird bug...  I
  4111. know it is simply something I'm overlooking, butin one of my programs, when I
  4112. initialize the menubar, the apple menu comes up fine... (with my "about..."
  4113. and everything) but the other menu does not come up.  The menus have ids 128
  4114. and 129, respectively, and the mbar resource has the ids in the correct
  4115. fields.  When i switch the two ids in the mbar rsrc, the main menu comes up,
  4116. but the apple doesn't... Where did I mess up?
  4117.  
  4118. I know i'll feel RREALLY stupid when i get it.  Here is some of my code
  4119. (kBaseResID and mApple both = 128):
  4120.  
  4121. void main( void )
  4122. {
  4123.  MaxApplZone();
  4124.  ToolBoxInit();
  4125.  MenuBarInit();
  4126.  EventLoop();
  4127. }
  4128.  
  4129.  
  4130. /********************* MenuBarInit ********************/
  4131. void  MenuBarInit( void )
  4132. {
  4133.  Handle  menuBar;
  4134.  MenuHandle menu;
  4135.  
  4136.  menuBar = GetNewMBar( kBaseResID );
  4137.  
  4138.  SetMenuBar( menuBar );
  4139.  
  4140.  menu = GetMHandle( mApple );
  4141.  AddResMenu( menu, 'DRVR' );
  4142.  
  4143.  DrawMenuBar();
  4144. }
  4145.  
  4146. /****************** ToolBoxInit *********************/
  4147.  
  4148. void ToolBoxInit( void )
  4149. {
  4150.  InitGraf( &thePort );
  4151.  InitFonts();
  4152.  InitWindows();
  4153.  InitMenus();
  4154.  TEInit();
  4155.  InitDialogs( nil );
  4156.  InitCursor();
  4157. }
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163. >From pindar3@cix.compulink.co.uk 16 Jun 94 21:40:15 GMT
  4164. Path: ucivax!gateway
  4165. From: pindar3@cix.compulink.co.uk (Pindar Infotek Ltd)
  4166. Subject: PBHGetFInfo
  4167. Message-ID: <9406161440.aa19325@q2.ics.uci.edu>
  4168. Newsgroups: fa.think-c
  4169. Reply-To: pindar3@cix.compulink.co.uk
  4170. X-Message-ID: <memo.375765@cix.compulink.co.uk>
  4171. Approved: usenet@q2.ics.uci.edu
  4172. Lines: 71
  4173. Date: 16 Jun 94 21:40:15 GMT
  4174.  
  4175.  
  4176. >From Pindar user Ian McCall
  4177.  
  4178. Subject: _PBHGetFInfo
  4179. Sorry to bother the list -again- with my file handling woes, but I'm
  4180. not having a good time! :-(
  4181.  
  4182. This time the problem is nominally with PBHGetFInfo, but more
  4183. specifically it's a problem with indexing through a directory.
  4184.  
  4185. I have code that looks basically like this:
  4186.  
  4187.  
  4188. OSErr ProblemExample(FSSpecPtr targetFolder)
  4189. {
  4190.    HFileParamBlock   fileDetails;
  4191.    Str255            fileName;
  4192.    OSErr             theResult;
  4193.    long              targetFolderID;
  4194.    short             currentFile = 1;
  4195.  
  4196.    /*   Determine the 'hard' directory ID of the articles folder.
  4197.       Note that FSGetIDOfFSSpec is my routine and works fine
  4198.    */
  4199.    theResult = FSGetIDOfFSSpec(targetFolder, &targetFolderID);
  4200.  
  4201.    /* See how successful we were */
  4202.    if(theResult != noErr)
  4203.       return(theResult);
  4204.  
  4205.    /* Loop until we hit a problem (or run out of files) */
  4206.    do
  4207.    {
  4208.       /*    Set up the details of the file we want information for
  4209. */
  4210.       fileDetails.fileParam.ioNamePtr    = fileName;
  4211.       fileDetails.fileParam.ioVRefNum    = targetFolder->vRefNum;
  4212.       fileDetails.fileParam.ioDirID      = targetFolderID;
  4213.       fileDetails.fileParam.ioFDirIndex  = currentFile;
  4214.       fileDetails.fileParam.ioCompletion = NULL;
  4215.       fileDetails.fileParam.ioFVersNum   = 0;
  4216.  
  4217.       /*    Now get the exact details   */
  4218.       if((theResult = PBHGetFInfo(&fileDetails, FALSE)) == noErr)
  4219.       {
  4220.          /* This is my main processing bit - it works fine */
  4221.       }
  4222.  
  4223.       /* Move along to the next file */
  4224.       currentFile++;
  4225.    }
  4226.    while(theResult == noErr);
  4227. }
  4228.  
  4229.  
  4230. My problem is that the call to PBHGetFInfo returns -43 (fnfErr) one
  4231. file before the last in the directory. In other words, if there are
  4232. three files in the directory the loop above will iterate twice.
  4233.  
  4234. Any ideas?
  4235.  
  4236.  
  4237. Cheers,
  4238.        Ian
  4239.  
  4240.  
  4241.  
  4242. ---
  4243. Please make 'Attn:<space>Ian McCall' the first line of your reply
  4244. (not the subject) to ensure automatic forwarding to the correct
  4245. Pindar user.
  4246. >From Daniel.Jibouleau@residences.ulaval.ca 17 Jun 94 00:21:03 GMT
  4247. Path: ucivax!gateway
  4248. From: Daniel.Jibouleau@residences.ulaval.ca (Daniel Jibouleau)
  4249. Subject: Re: Text in Dialog boxes not appearing
  4250. X-Sender: jiboule@hermes.ulaval.ca
  4251. Message-ID: <9406161721.aa27650@q2.ics.uci.edu>
  4252. Content-Type: text/plain; charset="us-ascii"
  4253. content-length: 928
  4254. Mime-Version: 1.0
  4255. Newsgroups: fa.think-c
  4256. X-Message-ID: <9406170019.AA17894@hermes.ulaval.ca>
  4257. Approved: usenet@q2.ics.uci.edu
  4258. Lines: 26
  4259. Date: 17 Jun 94 00:21:03 GMT
  4260.  
  4261. >The following code should produce a dialog box with one static text and one
  4262. >editable text field and six buttons.  The buttons appear, but the text is
  4263. >nowhere to be found.  The resource file has a DITL with ID=128 (the text
  4264. >fields are items 7 and 8) and a DLOG with ID=128.  What's needed to produce
  4265. >the text in the dialog box?  ShowDItem doesn't help.
  4266.  
  4267. This one is too easy.  I see you are not processing update events.  Just
  4268. add this to your main loop:
  4269.  
  4270.           case updateEvent:
  4271.                         SetPort (the_dialog);
  4272.                         UpdtDialog (thePort, thePort -> visRgn);  // update
  4273.                         break;  // ...it down!
  4274.  
  4275. I also suggest you use DialogSelect () to handle modeless dialogs.
  4276.  
  4277. Daniel++
  4278.  
  4279. The reason why your buttons appears, and not the static texts, is that the
  4280. Window Managers draws them without regard to the Dialog Manager.
  4281.  
  4282.  
  4283. -- Daniel Jibouleau
  4284.    jiboule@hermes.ulaval.ca
  4285.  
  4286.  
  4287. >From pindar3@cix.compulink.co.uk 17 Jun 94 02:58:52 GMT
  4288. Path: ucivax!gateway
  4289. From: pindar3@cix.compulink.co.uk (Pindar Infotek Ltd)
  4290. Subject: FSpCatMove solved
  4291. Message-ID: <9406161958.aa02679@q2.ics.uci.edu>
  4292. Newsgroups: fa.think-c
  4293. Reply-To: pindar3@cix.compulink.co.uk
  4294. X-Message-ID: <memo.375004@cix.compulink.co.uk>
  4295. Approved: usenet@q2.ics.uci.edu
  4296. Lines: 27
  4297. Date: 17 Jun 94 02:58:52 GMT
  4298.  
  4299.  
  4300. >From Pindar user Ian McCall
  4301.  
  4302. Subject: _FSpCatMove solved
  4303. A couple of people wrote to me on this one, so I thought I'd reply to
  4304. the net at large.
  4305.  
  4306. The problem was poor phrasing in Inside Mac/THINK Reference. The
  4307. second parameter to FSpCatMove is -not-, as stated, the destination
  4308. file. Rather it is the destination -folder-, ie. the place in which
  4309. the file is to be put.
  4310.  
  4311. Additionally, THINK Reference suggests fnfErr can only be returned as
  4312. a result of a bad source file. That's innaccurate, it can also be
  4313. returned as a result of a missing destination directory.
  4314.  
  4315. Thanks for the help.
  4316.  
  4317.  
  4318. Ian
  4319.  
  4320.  
  4321.  
  4322. ---
  4323. Please make 'Attn:<space>Ian McCall' the first line of your reply
  4324. (not the subject) to ensure automatic forwarding to the correct
  4325. Pindar user.
  4326. >From pindar3@cix.compulink.co.uk 17 Jun 94 02:59:11 GMT
  4327. Path: ucivax!gateway
  4328. From: pindar3@cix.compulink.co.uk (Pindar Infotek Ltd)
  4329. Subject: FSpCatMove solved
  4330. Message-ID: <9406161959.ab02679@q2.ics.uci.edu>
  4331. Newsgroups: fa.think-c
  4332. Reply-To: pindar3@cix.compulink.co.uk
  4333. X-Message-ID: <memo.375004@cix.compulink.co.uk>
  4334. Approved: usenet@q2.ics.uci.edu
  4335. Lines: 1
  4336. Date: 17 Jun 94 02:59:11 GMT
  4337.  
  4338.  
  4339. >From TPZ4@vm.cnuce.cnr.it 17 Jun 94 12:38:01 GMT
  4340. Path: ucivax!gateway
  4341. From: TPZ4@vm.cnuce.cnr.it (Rodolfo Cardarelli)
  4342. Subject: Debugging problem
  4343. Message-ID: <9406170538.aa05020@q2.ics.uci.edu>
  4344. Newsgroups: fa.think-c
  4345. X-Message-ID: <9406170537.aa05020@q2.ics.uci.edu>
  4346. Approved: usenet@q2.ics.uci.edu
  4347. Lines: 7
  4348. Date: 17 Jun 94 12:38:01 GMT
  4349.  
  4350. Sorry to bother, (I already posted this question), but I got no answer and I re
  4351. ally can't figure out why my debugger (7.0 free upgrade) is not working with
  4352. TCL. I checked headers and prefix, and everything looks like before (6.1) but t
  4353. he debugger is still not working. Any suggestions to how may I debug my debugge
  4354. r?
  4355. Thank you in advance
  4356. Rodolfo
  4357. >From waldorfm@admina.rferl.org 18 Jun 94 21:14:08 GMT
  4358. Path: ucivax!gateway
  4359. From: waldorfm@admina.rferl.org ("M. Waldorf")
  4360. Subject: DrawString & unsigned long
  4361. X-Sender: waldorfm@muvaxb.rferl.org
  4362. Message-ID: <9406181414.aa20994@q2.ics.uci.edu>
  4363. Content-transfer-encoding: 7BIT
  4364. Content-type: text/plain; charset="us-ascii"
  4365. MIME-version: 1.0
  4366. Newsgroups: fa.think-c
  4367. X-Message-ID: <01HDPE1C3M2Q8WXP2W@AdminA.RFERL.Org>
  4368. Approved: usenet@q2.ics.uci.edu
  4369. Date-warning: Date header was inserted by AdminA.RFERL.Org
  4370. Lines: 15
  4371. Date: 18 Jun 94 21:14:08 GMT
  4372.  
  4373. unsigned long           timeSeed;
  4374.  
  4375. ..which I would like to display with the DrawString() function,
  4376. or whatever is more appropriate.
  4377.  
  4378. I assume I would have to convert "timeSeed" into a string,
  4379. and then use CtoPstr(), etc.
  4380.  
  4381. Could someone please help me?
  4382.  
  4383. Thanks,
  4384. Markus
  4385.  
  4386.  
  4387.  
  4388. >From NASA12@aol.com 19 Jun 94 18:17:36 GMT
  4389. Path: ucivax!gateway
  4390. From: NASA12@aol.com
  4391. Subject: Menus
  4392. Message-ID: <9406191117.aa03948@q2.ics.uci.edu>
  4393. X-Mailer: America Online Mailer
  4394. Newsgroups: fa.think-c
  4395. X-Message-ID: <9406191417.tn112251@aol.com>
  4396. Approved: usenet@q2.ics.uci.edu
  4397. Lines: 8
  4398. Date: 19 Jun 94 18:17:36 GMT
  4399.  
  4400. Thanks to all of you who tried to help solve the menu problem... After
  4401. triple-checking my menu ids, mdef ids, mbar rsrcs, etc... I finally gave up
  4402. my search and started the rsrc from scratch.  I did everything the same way I
  4403. did last time, but for some reason it know works.  I wonder what i did
  4404. differently... Thanks again!
  4405.  
  4406. --Adam
  4407.  
  4408. >From RYBSKIP@lawrence.edu 19 Jun 94 18:28:00 GMT
  4409. Path: ucivax!gateway
  4410. From: RYBSKIP@lawrence.edu ("Paul E. Rybski - Finger me for PGP public key")
  4411. Subject: External Editors with Symantec C++ 7.0.2
  4412. Message-ID: <9406191127.aa04202@q2.ics.uci.edu>
  4413. Content-transfer-encoding: 7BIT
  4414. X-VMS-Cc: RYBSKIP
  4415. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  4416. MIME-version: 1.0
  4417. Newsgroups: fa.think-c
  4418. X-Message-ID: <01HDQ7Q0W1YQ8X0QZC@lawrence.edu>
  4419. X-VMS-To: IN%"think-c@ics.uci.edu"
  4420. Approved: usenet@q2.ics.uci.edu
  4421. Lines: 21
  4422. Date: 19 Jun 94 18:28:00 GMT
  4423.  
  4424. Hi,
  4425.         Does anyone have a list of text editors that can be used with the
  4426. external editor capability of the Think Project Manager?  BBEdit Lite doesn't
  4427. seem to be one of them unless I am missing something.  However, when I try to
  4428. use it and open a file, I get the following error:
  4429.  
  4430. A Macintosh System-level Error has occured
  4431. -1708
  4432.  
  4433.  
  4434. Can anyone advise?
  4435.  
  4436. Thanks
  4437.  
  4438. -Paul Rybski
  4439. --------------------------------------------------------------------------------
  4440. Paul E. Rybski       | Lawrence Univ.     | Math/Computer Science Major (Jr. Yr)
  4441. rybskip@lawrence.edu | Appleton, WI 54911 | Jobs = Networking/UNIX Admin/Consult
  4442. We've got an Alpha!  | (414)-832-7526     | Dreams = Mac Programming/Robotics/AI
  4443. --------------------------------------------------------------------------------
  4444.  
  4445. >From siegel@netcom.com 19 Jun 94 20:38:07 GMT
  4446. Path: ucivax!gateway
  4447. From: siegel@netcom.com (Rich Siegel)
  4448. Subject: Re: External Editors with Symantec C++ 7.0.2
  4449. Message-ID: <9406191338.aa06329@q2.ics.uci.edu>
  4450. In-Reply-To: <9406191127.aa04202@q2.ics.uci.edu> from "Paul E. Rybski - Finger me for PGP public key" at Jun 19, 94 06:28:00 pm
  4451. X-Mailer: ELM [version 2.4 PL23]
  4452. Content-Transfer-Encoding: 7bit
  4453. Content-Type: text/plain; charset=US-ASCII
  4454. Content-Length: 863
  4455. MIME-Version: 1.0
  4456. Newsgroups: fa.think-c
  4457. X-Message-ID: <199406192038.NAA20254@netcom13.netcom.com>
  4458. Approved: usenet@q2.ics.uci.edu
  4459. Lines: 24
  4460. Date: 19 Jun 94 20:38:07 GMT
  4461.  
  4462.  
  4463. >       Does anyone have a list of text editors that can be used with the
  4464. > external editor capability of the Think Project Manager?  BBEdit Lite doesn't
  4465. > seem to be one of them unless I am missing something.  However, when I try to
  4466. > use it and open a file, I get the following error:
  4467. >
  4468. > A Macintosh System-level Error has occured
  4469. > -1708
  4470. >
  4471. >
  4472. > Can anyone advise?
  4473.  
  4474. BBEdit Lite is not rated for use with the THINK Project
  4475. Manager. BBEdit 2.5 is; you can find a demo version for FTP from
  4476. ftp.std.com, in /pub/bbedit.  (We also have an ad on one of the early
  4477. pages of the Symantec C++ 7.0 user's manual.)
  4478.  
  4479. R.
  4480.  
  4481. Rich Siegel % siegel@netcom.com % Principal, Bare Bones Software
  4482. --> For information about BBEdit, finger bbedit@world.std.com <--
  4483.  
  4484. "...yeah, I inhaled, and then I drank the bong water. So what're
  4485. you gonna do about it?" - Dennis Miller, on Bill Clinton
  4486. >From jim@fpr.com 20 Jun 94 00:32:36 GMT
  4487. Path: ucivax!gateway
  4488. From: jim@fpr.com ("James E. O'Dell")
  4489. Subject: TCL 2.0
  4490. Message-ID: <9406191732.aa10351@q2.ics.uci.edu>
  4491. X-Mailer: Mac/gnuucp Mail Reader v6.12
  4492. Newsgroups: fa.think-c
  4493. X-Message-ID: <9406200029.AA11905@uu9.psi.com>
  4494. Reply-To: jim@fpr.com
  4495. Approved: usenet@q2.ics.uci.edu
  4496. Organization: Fort Pond Research
  4497. Lines: 16
  4498. Date: 20 Jun 94 00:32:36 GMT
  4499.  
  4500.  
  4501. Hmmm, I just donloaded the SC++ update with TCL 2.0. Does anyone
  4502. have any instructions as to how to use this. I tried recompiling
  4503. the headers and many of the include files seem to be missing.
  4504.  
  4505. Does TCL 2.0 AUGMENT TCL 1.x? (i.e., do you shadow the TCL 1.x folders
  4506. by putting ()'s around them?)
  4507.  
  4508. The stuff in the update seems to be about half the size of the TCL 1.x
  4509. stuff.
  4510.  
  4511. Am I missing some files or some doc?
  4512.  
  4513.  
  4514. Thanks,
  4515. Jim
  4516. >From NASA12@aol.com 20 Jun 94 01:01:57 GMT
  4517. Path: ucivax!gateway
  4518. From: NASA12@aol.com
  4519. Subject: Editable Text Fields
  4520. Message-ID: <9406191801.aa10906@q2.ics.uci.edu>
  4521. X-Mailer: America Online Mailer
  4522. Newsgroups: fa.think-c
  4523. X-Message-ID: <9406192101.tn121448@aol.com>
  4524. Approved: usenet@q2.ics.uci.edu
  4525. Lines: 9
  4526. Date: 20 Jun 94 01:01:57 GMT
  4527.  
  4528. This is probably an easy one... How do I make the text in just ONE editable
  4529. text field a different font, such as times? the field is one of a modal
  4530. dialog containing 6 fields.  I've created the neccessary font and fond
  4531. resources...
  4532.  
  4533. I thank you all for your help over the last week.  I've been doing mac c for
  4534. a while now, but all the apps I've writtten have all been pretty much
  4535. variations of another, but my latest project is a little weird...
  4536.  
  4537. >From waldorfm@admina.rferl.org 20 Jun 94 09:04:38 GMT
  4538. Path: ucivax!gateway
  4539. From: waldorfm@admina.rferl.org
  4540. Subject: Re: External Editors with Symantec C++ 7.0.2
  4541. Content-transfer-encoding: 7BIT
  4542. X-Message-ID: <01HDRH48SWOI8WXV76@AdminA.RFERL.Org>
  4543. Approved: usenet@q2.ics.uci.edu
  4544. Lines: 66
  4545. Date-warning: Date header was inserted by AdminA.RFERL.Org
  4546. Date: 20 Jun 94 09:04:38 GMT
  4547. X-Sender: waldorfm@muvaxb.rferl.org
  4548. Message-ID: <9406200204.aa23482@q2.ics.uci.edu>
  4549. Content-type: text/plain; charset="us-ascii"
  4550. MIME-version: 1.0
  4551. Newsgroups: fa.think-c
  4552.  
  4553. Alpha 5.81
  4554.  
  4555. ..has very nice programming features. You should really take
  4556. a look at it. The previous version I've used was 5.6.x. With this new
  4557. version a lot has changed - very impressive! If I'm right, it's $25
  4558. shareware (don't rely on this!).
  4559.  
  4560. Here's some conversation I had with the author:
  4561.  
  4562. M. Waldorf writes:
  4563.  > Thanks, for your quick reply. I got it to work with TC/C++ (old 6.0.1).
  4564.  > Well, so far so good, but on some functions like "Run", which goes into
  4565.  > Debug and "Switch to", it crashes
  4566.  
  4567. You can change the Debug option by modifying the file
  4568. :Tcl:SystemCode:think.tcl.
  4569.  
  4570. Are you saying that "Switch to" crashes?
  4571.  
  4572.  
  4573. pete
  4574.  
  4575. BBEdit 2.5.x
  4576.  
  4577. There is a free demo version available, which looks nice, but it doesn't
  4578. let you save anything. They have special price conventions for registered
  4579. users of TC/C++. I think it's $49 (don't rely on this!).
  4580.  
  4581.  
  4582. However, one should consider the memory usage when using an external
  4583. Editor. With 7.0 and 5 mb allocation, System about 3 mb, external Editor
  4584. perhaps 1,5 mb, ResEdit 1,5 mb = 11 mb. If memory is not a problem - ok!
  4585. Also, you may risk a crash.
  4586.  
  4587.  
  4588.  
  4589. >Hi,
  4590. >        Does anyone have a list of text editors that can be used with the
  4591. >external editor capability of the Think Project Manager?  BBEdit Lite doesn't
  4592. >seem to be one of them unless I am missing something.  However, when I try to
  4593. >use it and open a file, I get the following error:
  4594. >
  4595. >A Macintosh System-level Error has occured
  4596. >-1708
  4597. >
  4598. >
  4599. >Can anyone advise?
  4600. >
  4601. >Thanks
  4602. >
  4603. >-Paul Rybski
  4604. >--------------------------------------------------------------------------------
  4605. >Paul E. Rybski       | Lawrence Univ.     | Math/Computer Science Major (Jr. Yr)
  4606. >rybskip@lawrence.edu | Appleton, WI 54911 | Jobs = Networking/UNIX Admin/Consult
  4607. >We've got an Alpha!  | (414)-832-7526     | Dreams = Mac Programming/Robotics/AI
  4608. >--------------------------------------------------------------------------------
  4609.  
  4610. --------------------------------------------------------------------------
  4611.     _/_/    _/_/_/ _/_/_/    Markus Waldorf                     _/_/    _/
  4612.    _/  _/  _/     _/        Information Technology Consultant  _/  _/  _/
  4613.   _/_/    _/_/   _/_/      RFE/RL Inc, Munich, Germany        _/_/    _/
  4614.  _/  _/  _/     _/        Compu$erve: 100022,2373            _/  _/  _/
  4615. _/  _/  _/     _/_/_/    Internet: waldorfm@rferl.org       _/  _/  _/_/_/
  4616. --------------------------------------------------------------------------
  4617.  
  4618.  
  4619. >From jum@helios.de 20 Jun 94 09:34:15 GMT
  4620. Path: ucivax!gateway
  4621. From: jum@helios.de (Jens-Uwe Mager)
  4622. Subject: DarkSide & Think C 7.0.2
  4623. Message-ID: <9406200234.aa24039@q2.ics.uci.edu>
  4624. Newsgroups: fa.think-c
  4625. X-Message-ID: <9406200933.AA42302@heliosd.helios.de>
  4626. Approved: usenet@q2.ics.uci.edu
  4627. Lines: 25
  4628. Date: 20 Jun 94 09:34:15 GMT
  4629.  
  4630. Hello,
  4631.  
  4632. I am attempting to get the example of Tom Dowdy's DarkSide FaderShell
  4633. to compile with Think C. I have been stumbled by the following
  4634. construct that is not compiled by Think C:
  4635.  
  4636. #pragma parameter __D0 DoWritePreferencesHandle(__A0)
  4637. OSErr DoWritePreferencesHandle(Ptr M, Handle h, ResType theType) =
  4638.         { 0x7000, 0x487B, 0x000A, 0x2F3C, 0x0800, 0x0004, 0x4ED0};
  4639.  
  4640. Think C appears to require all parameters mentioned in the pragma
  4641. parameter statement, but how do I specify that the parameters beyond
  4642. the first are located on the stack?
  4643.  
  4644. Jens-Uwe Mager
  4645.  
  4646. HELIOS Software GmbH
  4647. Lavesstr. 80
  4648. 30159 Hannover
  4649. Germany
  4650.  
  4651. Phone:          +49 511 36482-0
  4652. FAX:            +49 511 36482-69
  4653. AppleLink:      helios.de       Attn: Jens-Uwe Mager
  4654. Internet:       jum@helios.de
  4655. >From siegel@netcom.com 20 Jun 94 12:06:14 GMT
  4656. Path: ucivax!gateway
  4657. From: siegel@netcom.com (Rich Siegel)
  4658. Subject: Re: External Editors with Symantec C++ 7.0.2
  4659. Message-ID: <9406200506.aa12425@q2.ics.uci.edu>
  4660. In-Reply-To: <9406200204.aa23482@q2.ics.uci.edu> from "waldorfm@admina.rferl.org" at Jun 20, 94 09:04:38 am
  4661. X-Mailer: ELM [version 2.4 PL23]
  4662. Content-Transfer-Encoding: 7bit
  4663. Content-Type: text/plain; charset=US-ASCII
  4664. Content-Length: 655
  4665. MIME-Version: 1.0
  4666. Newsgroups: fa.think-c
  4667. X-Message-ID: <199406201206.FAA19736@netcom8.netcom.com>
  4668. Approved: usenet@q2.ics.uci.edu
  4669. Lines: 17
  4670. Date: 20 Jun 94 12:06:14 GMT
  4671.  
  4672. > However, one should consider the memory usage when using an external
  4673. > Editor. With 7.0 and 5 mb allocation, System about 3 mb, external Editor
  4674. > perhaps 1,5 mb, ResEdit 1,5 mb = 11 mb. If memory is not a problem - ok!
  4675.  
  4676. I can't speak for others, but BBEdit's recommended memory requirement
  4677. is 512K, and it'll use temp memory, so you don't have to increase its
  4678. partition to open larger files.
  4679.  
  4680. R.
  4681.  
  4682. Rich Siegel % siegel@netcom.com % Principal, Bare Bones Software
  4683. --> For information about BBEdit, finger bbedit@world.std.com <--
  4684.  
  4685. "...yeah, I inhaled, and then I drank the bong water. So what're
  4686. you gonna do about it?" - Dennis Miller, on Bill Clinton
  4687.  
  4688.  
  4689. >From tbrown@dorsai.dorsai.org 20 Jun 94 12:14:37 GMT
  4690. Path: ucivax!gateway
  4691. From: tbrown@dorsai.dorsai.org (Tommy Brown)
  4692. Subject: Re: Editable Text Fields
  4693. Message-ID: <9406200514.aa12596@q2.ics.uci.edu>
  4694. In-Reply-To: <9406191801.aa10906@q2.ics.uci.edu>
  4695. Content-Type: TEXT/PLAIN; charset=US-ASCII
  4696. Mime-Version: 1.0
  4697. Newsgroups: fa.think-c
  4698. X-Message-ID: <Pine.3.89.9406200851.B15957-0100000@dorsai.dorsai.org>
  4699. Approved: usenet@q2.ics.uci.edu
  4700. Lines: 20
  4701. Date: 20 Jun 94 12:14:37 GMT
  4702.  
  4703. On 20 Jun 1994 NASA12@aol.com wrote:
  4704.  
  4705. > This is probably an easy one... How do I make the text in just ONE editable
  4706. > text field a different font, such as times? the field is one of a modal
  4707. > dialog containing 6 fields.  I've created the neccessary font and fond
  4708. > resources...
  4709. >
  4710.  
  4711. As far as I know, you can't, not as long as you'reusing the Dialog
  4712. Manager. The Mac uses one TE record for an entire dialog box, no matter
  4713. how many actual fields there are. Therefore, there can only be one
  4714. font/style. The only way I can think of to do this would be not to use
  4715. the dialog manager, ie, create your own window with your own text boxes.
  4716.  
  4717. Tommy Brown                 | Je suis tombe par terre, c'est la faute a
  4718. tbrown@dorsai.dorsai.org    | Voltaire. Le nez dans le ruisseau, c'est la
  4719. tommy6@aol.com              | faute a Rousseau.
  4720. zipit@softlock.com          | - Gavroche
  4721.  
  4722.  
  4723. >From hnewstrom@hnewstrom.ess.harris.com 20 Jun 94 17:35:06 GMT
  4724. Path: ucivax!gateway
  4725. From: hnewstrom@hnewstrom.ess.harris.com (Harvey Newstrom)
  4726. Subject: unsubscribe hnewstrom@hnewstrom.ess.harris.com
  4727. Message-ID: <9406201035.aa26120@q2.ics.uci.edu>
  4728. X-Mailer: LeeMail 2.0.4
  4729. Newsgroups: fa.think-c
  4730. X-Message-ID: <AA2B4B57@hnewstrom.ess.harris.com>
  4731. Approved: usenet@q2.ics.uci.edu
  4732. Lines: 3
  4733. Date: 20 Jun 94 17:35:06 GMT
  4734.  
  4735. unsubscribe hnewstrom@hnewstrom.ess.harris.com
  4736.  
  4737.  
  4738. >From nagel@wahoo.rdatasys.com Mon, 20 Jun 1994 19:01:00 PDT
  4739. Return-Path: nagel@wahoo.rdatasys.com 
  4740. Received: from wahoo.rdatasys.com (nagel@wahoo.rdatasys.com [198.137.184.2]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id TAA06882 for <think-c@wahoo.rdatasys.com>; Mon, 20 Jun 1994 19:01:03 -0700
  4741. To: think-c@wahoo.rdatasys.com
  4742. Subject: test message
  4743. Reply-To: mark.nagel@rdatasys.com
  4744. Organization: Relational Data Systems, Irvine, CA
  4745. Phone: (714) 263-3899
  4746. Date: Mon, 20 Jun 1994 19:01:00 PDT
  4747. Message-ID: <6874.772164060@wahoo.rdatasys.com>
  4748. From: "Mark D. Nagel" <nagel@wahoo.rdatasys.com>
  4749.  
  4750. Hi all.  I'm testing the new list processing software on
  4751. rdatasys.com.  Assuming all goes well, I will switch over to this
  4752. system within a few days.  There may be some glitches at first as
  4753. everything gets settled in, but I'm sure it will last only a short
  4754. while.
  4755.  
  4756. Mark
  4757. >From jaha@secrc.abb.se 21 Jun 94 06:47:58 GMT
  4758. Path: ucivax!gateway
  4759. From: jaha@secrc.abb.se ("Jan R. M. Roman")
  4760. Subject: (none)
  4761. Message-ID: <9406202347.aa20920@q2.ics.uci.edu>
  4762. Newsgroups: fa.think-c
  4763. X-Message-ID: <9406210647.AA07640@kbmhp1.secrc.abb.se>
  4764. Reply-To: jaha@secrc.abb.se
  4765. Approved: usenet@q2.ics.uci.edu
  4766. Lines: 3
  4767. Date: 21 Jun 94 06:47:58 GMT
  4768.  
  4769.  
  4770. Please unsubscribe me as: jaha@secrc.abb.se and put me on the
  4771. mailinglist as jan@comsol.se.  i.e. I got a new address.
  4772. >From jaha@secrc.abb.se 21 Jun 94 11:00:28 GMT
  4773. Path: ucivax!gateway
  4774. From: jaha@secrc.abb.se ("Jan R. M. Roman")
  4775. Subject: (none)
  4776. Message-ID: <9406210400.aa28843@q2.ics.uci.edu>
  4777. Newsgroups: fa.think-c
  4778. X-Message-ID: <9406211059.AA07796@kbmhp1.secrc.abb.se>
  4779. Reply-To: jaha@secrc.abb.se
  4780. Approved: usenet@q2.ics.uci.edu
  4781. Lines: 4
  4782. Date: 21 Jun 94 11:00:28 GMT
  4783.  
  4784.  
  4785. Please unsubscribe me as: jaha@secrc.abb.se and put me on the
  4786. mailinglist as jan@comsol.se.  i.e. I got a new address.
  4787.  
  4788. >From canna@bga.com 21 Jun 94 13:42:33 GMT
  4789. Path: ucivax!gateway
  4790. From: canna@bga.com (Lloyd Sargent)
  4791. Subject: Re: TCL 2.0
  4792. Message-ID: <9406210642.aa17040@q2.ics.uci.edu>
  4793. Content-Type: text/plain; charset="us-ascii"
  4794. Mime-Version: 1.0
  4795. Newsgroups: fa.think-c
  4796. X-Message-ID: <199406211342.IAA19515@zoom.bga.com>
  4797. Approved: usenet@q2.ics.uci.edu
  4798. Lines: 75
  4799. Date: 21 Jun 94 13:42:33 GMT
  4800.  
  4801. >Hmmm, I just donloaded the SC++ update with TCL 2.0. Does anyone
  4802. >have any instructions as to how to use this. I tried recompiling
  4803. >the headers and many of the include files seem to be missing.
  4804. >
  4805. >Does TCL 2.0 AUGMENT TCL 1.x? (i.e., do you shadow the TCL 1.x folders
  4806. >by putting ()'s around them?)
  4807. >
  4808. >The stuff in the update seems to be about half the size of the TCL 1.x
  4809. >stuff.
  4810. >
  4811. >Am I missing some files or some doc?
  4812. >
  4813. >
  4814. >Thanks,
  4815. >Jim
  4816.  
  4817. ---<grin>---
  4818.  
  4819. Sorry, couldn't resist!  I had the same problem and asked people here about
  4820. it. The answer is (now get this) YOU DON'T GET THEM!
  4821.  
  4822. Some yahoo at Symantec either didn't bother to compile this with the
  4823. limited include files from previous versions, or this is the impetus to get
  4824. you to plop down $150 for the rest of the include files (plus the other
  4825. programs that you get).
  4826.  
  4827. Here is what you need to do (and for you, the advice is free!). Go into the
  4828. file named "Mac #Includes.c" and search for and modify the lines so that
  4829. they appear as follows (I am assuming the problem of which you speak is
  4830. precompiling the headers).
  4831.  
  4832. // QuickdrawText       <<<<------- couldn't find this file!!!
  4833.   #if 0
  4834.     #include <QuickdrawText.h>
  4835.   #endif
  4836.  
  4837.             :
  4838.             :
  4839.  
  4840. // TextServices        <<<<--------- couldn't find this file
  4841.   #if 0
  4842.     #include <TextServices.h>
  4843.   #endif
  4844.  
  4845. // TextUtils           <<<<--------- couldn't find this file
  4846.   #if 0
  4847.     #include <TextUtils.h>
  4848.   #endif
  4849.  
  4850.  
  4851. Now as for the 2.0 TCL library, apparently I didn't get that (what
  4852. advantages does it have over the older library? How can I tell the
  4853. difference? Will I have rewrite my apps -- I have an app in progress, will
  4854. that get screwed up?).  Where did you download it?
  4855.  
  4856. By the way, one of the files (I forget which) gives a pragma error when it
  4857. is precompiled. Don't worry about this. It has ALWAYS given a pragma error
  4858. and no one has given a satisfactory explanation as to why. The compiler
  4859. will still work and everything will work fine.
  4860.  
  4861. Hope this helps,
  4862.  
  4863. Lloyd
  4864.  
  4865.  
  4866. ----------------------------+-----------------------------------------
  4867. Lloyd Sargent               | "Nulla dies sine linea" - Pliny
  4868. Head Honcho                 | Internet:  canna@bga.com
  4869. Canna Software Development  | AOL:       lgsargent@aol.com
  4870. 14308-B FM 812              | Phone:     (512) 243-0283, (512) 243-3355
  4871. Del Valle, Texas 78617      | Fax:       (512) 243-0283  (8-5 CST)
  4872.  
  4873.     "My business believes in First Admendment rights. So there!"
  4874.  
  4875.  
  4876. >From hs47+@andrew.cmu.edu 21 Jun 94 15:55:13 GMT
  4877. Path: ucivax!gateway
  4878. From: hs47+@andrew.cmu.edu (Hong Shi)
  4879. Subject: Help! H. Level Events
  4880. Message-ID: <9406210855.aa21759@q2.ics.uci.edu>
  4881. Newsgroups: fa.think-c
  4882. X-Message-ID: <Qi1kob600Uh782aooE@andrew.cmu.edu>
  4883. Approved: usenet@q2.ics.uci.edu
  4884. Lines: 153
  4885. Date: 21 Jun 94 15:55:13 GMT
  4886.  
  4887. I wrote a small program to handle some events, but I have problems
  4888. receiving H. level events. All the other events such as mousedown...
  4889. works fine. I tried to select the "Restart" menu from Finder, and also
  4890. tried to send Apple Events from another application, but I even didn't
  4891. get the indication that the h. level event was received. Could anybody
  4892. give some idea? This drives me crazy!!!
  4893. the piece of the program looks like this:
  4894.  
  4895. .h
  4896. *****
  4897. #define kAEMiscStandards 'misc'
  4898. #define kAEDoScript 'dosc'
  4899.  
  4900. #include <Memory.h>
  4901. #include <stdio.h>
  4902. #include <QuickDraw.h>
  4903. #include <Windows.h>
  4904. #include <Events.h>
  4905. #include <AppleEvents.h>
  4906. #include <Fonts.h>
  4907. #include <Menus.h>
  4908. #include <Dialogs.h>
  4909. #include <TextEdit.h>
  4910. #include <Unix.h>
  4911. #include "mathlink.h"
  4912. #include <Types.h>
  4913.  
  4914. EXTERN  EventRecord     TheEvent;
  4915.  
  4916. .c
  4917. *******
  4918.  
  4919. pascal OSErr AnotherEventsHandler(AppleEvent *messageValue,
  4920.                                                                 AppleEvent *replyValue,
  4921.                                                         long info) {
  4922.     AppleEvent                  reply;
  4923.     AppleEvent                  message;
  4924.     OSErr                       returnValue,err;
  4925.     Size                                                actualsize;
  4926.     DescType                                    returnedType;
  4927.     char                                                buf[1024];
  4928.     AEDesc                                              result;
  4929.  
  4930.     reply = *replyValue;
  4931.     message = *messageValue;
  4932.     actualsize = 0;
  4933.  
  4934.         err = AEGetParamPtr(&message, keyDirectObject,typeWildCard,
  4935.                         &returnedType,buf, (Size)1024, &actualsize);
  4936.  
  4937.  
  4938.         printf("Got it\n");
  4939.         printf("actualsize=%d\n",actualsize);
  4940.         printf("message=%s\n", buf);
  4941.         printf("err=%d\n",err);
  4942.     returnValue = noErr;
  4943.     return returnValue;
  4944. }
  4945.  
  4946.  
  4947. pascal OSErr HandleQuit(AppleEvent *messageValue,
  4948.                                 AppleEvent *replyValue,long info)
  4949. {
  4950.         printf("In quit handle.\n");
  4951.     exit(0);
  4952.  
  4953. }
  4954.  
  4955. void InitializeAppleEvents() {
  4956. // Install my AppleEvents handler for each event supported
  4957.     OSErr                       err;
  4958.  
  4959.     err = AEInstallEventHandler( kAEMiscStandards, kAEDoScript,
  4960.                    (EventHandlerProcPtr) &AnotherEventsHandler,
  4961.                    0, false);
  4962.  
  4963.     err = AEInstallEventHandler( kCoreEventClass, kAEQuitApplication,
  4964.                    (EventHandlerProcPtr) &HandleQuit, 0, false);
  4965.  
  4966.         printf("install err=%d\n",err);
  4967. }
  4968.  
  4969. void    init()
  4970. {
  4971.     InitGraf( &qd.thePort );
  4972.     InitFonts();
  4973.     InitWindows();
  4974.         InitMenus();
  4975.     TEInit();
  4976.     InitDialogs( NULL );
  4977.         InitCursor();
  4978.         InitializeAppleEvents();
  4979. }
  4980.  
  4981.  
  4982.  
  4983. void    DoHighLevelEvent(event)
  4984. EventRecord     event;
  4985. {
  4986.         OSErr   myErr;
  4987.  
  4988.         printf("High level events.\n");
  4989.  
  4990.         myErr = AEProcessAppleEvent(&event);
  4991. }
  4992.  
  4993.  
  4994. void    DoEvent()
  4995. {
  4996.         RgnHandle       cursorRgn;
  4997.         Boolean         gotEvent;
  4998.         OSErr           myErr;
  4999.  
  5000.         cursorRgn = NewRgn();
  5001.  
  5002.         while (TRUE)
  5003.         {
  5004.                 gotEvent = WaitNextEvent(everyEvent, &TheEvent, 15, NULL);
  5005.                 if (gotEvent){
  5006.                         printf("Got event, no=%d\n",TheEvent.what);
  5007.                         switch (TheEvent.what)
  5008.                         {
  5009.                                 case mouseDown:
  5010.                                         DoMouseDown();
  5011.                                         break;
  5012.                                 case updateEvt:
  5013.                                         DoUpdate();
  5014.                                         break;
  5015.                                 case activateEvt:
  5016.                                         DoActivate();
  5017.                                         break;
  5018.                                 case osEvt:
  5019.                                         printf("OS event.\n");
  5020.                                         break;
  5021.                                 case kHighLevelEvent:
  5022.                                         DoHighLevelEvent(TheEvent);
  5023.                                         break;
  5024.                         }
  5025.                 }
  5026.         }
  5027. }
  5028.  
  5029. main:
  5030. *********
  5031.         init();
  5032.  
  5033.         theWindow = GetNewWindow(windowID,NULL,(WindowPtr)-1);
  5034.         WinTitle[0] = (char) (strlen(WinTitle) - 1);
  5035.         SetWTitle(theWindow,(unsigned char*)WinTitle);
  5036.         nextWin = (WindowPeek) theWindow;
  5037.  
  5038.         DoEvent();
  5039.  
  5040. >From walrathw@rferl.org 21 Jun 94 18:59:39 GMT
  5041. Path: ucivax!gateway
  5042. From: walrathw@rferl.org (WalrathW)
  5043. Subject: RE: Help! H. Level Events
  5044. Message-ID: <9406211159.aa02307@q2.ics.uci.edu>
  5045. Content-transfer-encoding: 7BIT
  5046. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  5047. Newsgroups: fa.think-c
  5048. X-Message-ID: <01HDTG7Q0QMQ8WZA1Q@MUVAXA.RFERL.ORG>
  5049. Approved: usenet@q2.ics.uci.edu
  5050. Lines: 25
  5051. Date: 21 Jun 94 18:59:39 GMT
  5052.  
  5053. > From: Hong Shi on 21 Jun, 1994 20:43
  5054. > Subject: Help! H. Level Events
  5055. > To: think-c@ics.UCI.EDU
  5056. >
  5057. > I wrote a small program to handle some events, but I have problems
  5058. > receiving H. level events. All the other events such as mousedown...
  5059. > works fine. I tried to select the "Restart" menu from Finder, and also
  5060. > tried to send Apple Events from another application, but I even didn't
  5061. > get the indication that the h. level event was received. Could anybody
  5062. > give some idea? This drives me crazy!!!
  5063. > the piece of the program looks like this:
  5064.  
  5065. [ code listing deleted ]
  5066.  
  5067.  
  5068. If you are using Think C, go under the Project menu and choose item "Set
  5069. Project Type...", and verify that in your Size flags you set
  5070. "HighLevelEvent-Aware".
  5071. I suspect this may be your problem. On a side note however, you should print
  5072. the error number returned from the first _AEInstallEventHandler call you make
  5073. as well, if the first one failed but the second succeeded, you won't see that
  5074. with your printf.
  5075.  
  5076.  
  5077. -wayne
  5078. >From omalley@umich.edu 22 Jun 94 14:55:51 GMT
  5079. Path: ucivax!gateway
  5080. From: omalley@umich.edu (Kevin O'Malley)
  5081. Subject: Finder triangles
  5082. Message-ID: <9406220755.aa25243@q2.ics.uci.edu>
  5083. Content-Type: TEXT/plain; charset=US-ASCII
  5084. Newsgroups: fa.think-c
  5085. X-Message-ID: <Mailstrom.1.04.51512.15089.omalley@o.imap.itd.umich.edu>
  5086. Approved: usenet@q2.ics.uci.edu
  5087. Lines: 6
  5088. Date: 22 Jun 94 14:55:51 GMT
  5089.  
  5090.  
  5091. Does anyone know of any example code that implements finder
  5092. triangles?
  5093.  
  5094. --Kevin - omalley@umich.edu
  5095.  
  5096. >From nagel@rdatasys.com Wed, 22 Jun 1994 12:16:42 PDT
  5097. Return-Path: nagel@rdatasys.com 
  5098. Received: from rdatasys.com (nagel@wahoo.rdatasys.com [198.137.184.2]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id MAA04052 for <think-c@rdatasys.com>; Wed, 22 Jun 1994 12:16:44 -0700
  5099. To: think-c@rdatasys.com
  5100. Subject: test message #2
  5101. Reply-To: mark.nagel@rdatasys.com
  5102. Organization: Relational Data Systems, Irvine, CA
  5103. Phone: (714) 263-3899
  5104. Date: Wed, 22 Jun 1994 12:16:42 PDT
  5105. Message-ID: <4049.772312602@rdatasys.com>
  5106. From: "Mark D. Nagel" <nagel@rdatasys.com>
  5107.  
  5108. Testing system with just my own name in the list...
  5109. --------
  5110. Mark D. Nagel <mark.nagel@rdatasys.com>      Relational Data Systems
  5111.                                              30 Executive Park, Suite 260
  5112. Eat right.  Exercise.  Die anyway.           Irvine, CA 92714
  5113.                                              (714) 263-3899
  5114. >From nagel@rdatasys.com  Wed Jun 22 12:25:03 1994
  5115. Received: from rdatasys.com (nagel@wahoo.rdatasys.com [198.137.184.2]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id MAA04289 for <think-c@rdatasys.com>; Wed, 22 Jun 1994 12:25:02 -0700
  5116. Message-Id: <199406221925.MAA04289@wahoo.rdatasys.COM>
  5117. To: think-c@rdatasys.com
  5118. Subject: test message #3
  5119. Date: Wed, 22 Jun 1994 12:24:59 PDT
  5120. From: "Mark D. Nagel" <nagel@rdatasys.com>
  5121.  
  5122. yet another one...
  5123. >From nagel@rdatasys.com  Wed Jun 22 12:33:33 1994
  5124. Received: from rdatasys.com (nagel@wahoo.rdatasys.com [198.137.184.2]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id MAA04470 for <think-c@rdatasys.com>; Wed, 22 Jun 1994 12:33:32 -0700
  5125. Message-Id: <199406221933.MAA04470@wahoo.rdatasys.COM>
  5126. To: think-c@rdatasys.com
  5127. Subject: test message #4
  5128. Date: Wed, 22 Jun 1994 12:33:29 PDT
  5129. From: "Mark D. Nagel" <nagel@rdatasys.com>
  5130.  
  5131. last one, I hope
  5132. >From nagel@rdatasys.com  Wed Jun 22 18:08:49 1994
  5133. Received: from rdatasys.com (nagel@wahoo.rdatasys.com [198.137.184.2]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id SAA08444 for <think-c@rdatasys.com>; Wed, 22 Jun 1994 18:08:48 -0700
  5134. To: think-c@rdatasys.com
  5135. Subject: ANNOUNCE: The list has moved!
  5136. Reply-To: mark.nagel@rdatasys.com
  5137. Organization: Relational Data Systems, Irvine, CA
  5138. Phone: (714) 263-3899
  5139. Date: Wed, 22 Jun 1994 18:08:45 PDT
  5140. Message-ID: <8441.772333725@rdatasys.com>
  5141. From: "Mark D. Nagel" <nagel@rdatasys.com>
  5142.  
  5143. You read it here first; the think-c list has moved from ics.uci.edu
  5144. to rdatasys.com.  Messages sent to ics.uci.edu will start being
  5145. forwarded to the new list within a few days.  I will keep the lists
  5146. in sync until then, but everyone should start using the new address
  5147. immediately.
  5148.  
  5149. To send messages to the list, send to think-c@rdatasys.com.  If you
  5150. try to send a message and cannot because you are told you are not on
  5151. the list, please let me know.  This is a feature of the software
  5152. that might need fine tuning for some folks.
  5153.  
  5154. You may send requests to think-c-request@rdatasys.com, but you'll
  5155. receive a message explaining how to actually do things now :).
  5156.  
  5157. To perform administrative changes, like subscribe, unsubscribe,
  5158. etc., send all messages to listproc@rdatasys.com.  I'm including the
  5159. message you'd receive from think-c-request below which should
  5160. explain how to do the most common things.
  5161.  
  5162. The archive is still on ftp.ics.uci.edu for now, but I will be
  5163. moving it within the next week.  When it is all ready, I will let
  5164. the list know.
  5165.  
  5166. Here is the message you'd receive from think-c-request:
  5167.  
  5168. This mailing list is now under the control of automated subscription
  5169. software. To subscribe, please send email to the address:
  5170.  
  5171.         listproc@rdatasys.com
  5172.  
  5173. with a blank Subject line and the command:
  5174.  
  5175.         SUBSCRIBE <list_name> Your Name
  5176.  
  5177. in the message body. Listname would be the name of the mailing list
  5178. you wish to subscribe to (for instance "think-c") and should not be
  5179. the full email address of th list (do not use
  5180. "think-c@rdatasys.com").  The name should be your real name, not
  5181. your email address. An example is:
  5182.  
  5183.         SUBSCRIBE think-c Mark D. Nagel
  5184.  
  5185. If you want a list of commands you can use with the listproc
  5186. software, send it a command of "help". If you want to see what
  5187. mailing lists can be accessed through "listproc@rdatasys.com", send
  5188. it a command of "lists".
  5189.  
  5190. If nothing else works, send mail to "server@rdatasys.com" and
  5191. eventually a real human will see it (emphasis on eventually). 
  5192.  
  5193. For your reference, a quick tutorial on using listproc is appended
  5194. to this message.
  5195.  
  5196. Thank you for your cooperation.
  5197.  
  5198. Thanks also to Chuq Von Rospach for the message from which this one
  5199. was derived.
  5200.  
  5201. Mark D. Nagel
  5202. Relational Data Systems, Product Development Manager
  5203. Mailing List Administrator
  5204.  
  5205. +_+_+_+_+_+_+_+_++
  5206. The quick and easy 30 second guide to listproc
  5207. (for people who hate reading the instructions)
  5208.  
  5209. Listproc is a mailing list and archiving system that is similar to,
  5210. but not identical with, the BITNET LISTSERV software. If you take the
  5211. time to learn a few simple command, you'll find it a powerful and
  5212. flexible way to find and access the information that has been made
  5213. available. Listproc, however, is stupid. If you don't send it exactly
  5214. what it wants to see, it'll make you miserable.
  5215.  
  5216. Fortunately, it is pretty simple to feed the listproc. Just follow
  5217. the directions.
  5218.  
  5219. All listproc commands are sent to the address listproc@rdatasys.com
  5220. as an email message. The commands should be in the body of the
  5221. message, not the Subject line. In fact, if you attempt to put
  5222. commands in the Subject line, listproc will reject your message and
  5223. return it. LEAVE THE SUBJECT LINE BLANK. If your mail software won't
  5224. let you do that, put something cute and innovative in there instead.
  5225. Whatever you do, don't put listproc commands in the Subject line!
  5226.  
  5227. If you remember that piece of advice, 99% of your problems with
  5228. listproc are solved.
  5229.  
  5230. Listproc has two major subsystems: the mailing list subsystem and the
  5231. archive subsystem.
  5232.  
  5233. There is one command all listproc users should know: HELP. You can
  5234. give it a parameter of COMMAND, where COMMAND is one of the listproc
  5235. commands, and listproc will send you more details on that command.
  5236.  
  5237. Mailing List Commands
  5238.  
  5239. There are four commands commonly used to control the mailing list
  5240. subsystem:
  5241.  
  5242.         LISTS: The LISTS command takes no parameters. It will cause
  5243. listproc to send you the names of the mailing lists supported by this
  5244. server.
  5245.  
  5246.         SUBSCRIBE: enrolls you in a mailing list. The format is:
  5247. SUBSCRIBE LISTNAME YOURNAME. LISTNAME is the name of the mailing
  5248. list. YOURNAME is, not surprisingly, your real name, not your email
  5249. address, which listproc will get from the header of the email
  5250. message. 
  5251.  
  5252.         UNSUBSCRIBE: removes you from a mailing list. The format is
  5253. UNSUBSCRIBE LISTNAME. You don't give your name to the UNSUBCRIBE
  5254. command.
  5255.  
  5256.         SET:  The SET command lets you change the options attached to
  5257. your subscription on a list. The format is SET LISTNAME MAIL <option>.
  5258. The common options are DIGEST, ACK and NOACK. 
  5259.  
  5260.         DIGEST converts your subscription to the digest format, which
  5261. means that instead of getting individual messages as they are sent to
  5262. listproc, you would get them in a combined format, usually once a
  5263. day, in a single mail message. This option is very useful to people
  5264. suffering from too much email.
  5265.  
  5266.         ACK and NOACK turn off the digest format and cause listproc to
  5267. send you individual messages again. The difference between the two is
  5268. how listproc handles your own submissions to the list. ACK will cause
  5269. listproc to send you a copy of your own messages, while NOACK won't.
  5270. The default is typically ACK.
  5271.  
  5272. There are other commands and options that can be used as well, and
  5273. these are covered in the on-line documentation available through the
  5274. HELP command.
  5275.  
  5276. In summary, here's how a typical listproc command would look that
  5277. uses these commands. This assumes UCB mail, but other mailers will
  5278. work the same way:
  5279.  
  5280. % mail listproc@rdatasys.com
  5281. Subject: remember, we don't put listproc commands here
  5282.  
  5283. HELP
  5284. HELP SET
  5285. LIST
  5286. SUBSCRIBE think-c Mark D. Nagel
  5287. SET think-c MAIL DIGEST
  5288. SUBSCRIBE other-list Mark D. Nagel
  5289. UNSUBSCRIBE other-list
  5290. SET think-c MAIL NOACK
  5291. ^D
  5292. %
  5293.  
  5294. Archive Server Commands
  5295.  
  5296. The archive server allows you to receive copies of files stored in
  5297. the archive. This service is similar to FTP, but doesn't require that
  5298. a user have access to anything but electronic mail. 
  5299.  
  5300. To find out what is available in the archive, you use the INDEX
  5301. command.  Archives can be nested, and to get information on listed
  5302. sub-archives. An example of doing this would look like this:
  5303.  
  5304. % mail listproc@rdatasys.com
  5305. Subject: This space left blank, of course
  5306.  
  5307. INDEX
  5308. INDEX think-c
  5309. INDEX think-c/digests
  5310. ^D
  5311. %
  5312.  
  5313. This will return you three mail messages, one with the master index,
  5314. one with the index for the mae-users list, and one for the digests
  5315. sub-archive in mae-users. The way this listproc is configured, all
  5316. messages submitted to a list are compiled into digests and stored in
  5317. the archives in the digests sub-archive, which means it's possible to
  5318. locate and recover previous messages. 
  5319.  
  5320. To have listproc send you a file, you use the GET command. The format
  5321. is GET ARCHIVE FILENAME. 
  5322.  
  5323. An example of this would be: 
  5324.  
  5325. % mail listproc@rdatasys.com
  5326. Subject: remember, this is blank!
  5327.  
  5328. GET think-c/digests 94Apr27
  5329.  
  5330. ^D
  5331. %
  5332.  
  5333. This will return the file in an email message. If the file is long,
  5334. it might be split into multiple pieces. Binary files will be encoded
  5335. in a format to allow them to be mailed.
  5336.  
  5337. The SEARCH command allows you to locate specific pieces of
  5338. information within the archive. It allows you to 'grep' the archives.
  5339. This is especially useful if you're trying to locate a specific topic
  5340. in the digests, or, say, copy of one of your postings. The format of
  5341. the SEARCH command is SEARCH ARCHIVE SEARCHSTRING.
  5342.  
  5343. An example of this is:
  5344.  
  5345. % mail listproc@rdatasys.com
  5346. Subject: do I really have to say it?
  5347.  
  5348. SEARCH think-c/digests  "Mark D. Nagel"
  5349. SEARCH think-c server
  5350. ^D
  5351.  
  5352. With these commands, you can do the common actions you want out of a
  5353. listproc. If you want to learn more about listproc, please send it
  5354. the HELP command and start reading the on-line documentation.
  5355.  
  5356. If you have any problems with the listproc, please send mail to
  5357. server@rdatasys.com.
  5358.  
  5359. --------
  5360. Mark D. Nagel <mark.nagel@rdatasys.com>      Relational Data Systems
  5361.                                              30 Executive Park, Suite 260
  5362. Eat right.  Exercise.  Die anyway.           Irvine, CA 92714
  5363.                                              (714) 263-3899
  5364. >From rhartman@dsl2.uoregon.edu  Thu Jun 23 11:04:51 1994
  5365. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id LAA19395 for <think-c@rdatasys.com>; Thu, 23 Jun 1994 11:04:51 -0700
  5366. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.9) id LAA08528 for <think-c@rdatasys.com>; Thu, 23 Jun 1994 11:04:49 -0700
  5367. Received: from dsl2.uoregon.edu(128.223.108.147) by lionfish.rdatasys.com via smap (V1.3mjr)
  5368.         id sma008524; Thu Jun 23 11:03:54 1994
  5369. Received: from rhartman.symantec.com by dsl2.uoregon.edu (NX5.67c/NX3.0M)
  5370.         id AA00794; Thu, 23 Jun 94 11:03:40 -0700
  5371. Message-Id: <9406231803.AA00794@dsl2.uoregon.edu>
  5372. Mime-Version: 1.0
  5373. Content-Type: text/plain; charset="us-ascii"
  5374. Date: Thu, 23 Jun 1994 11:03:43 -0700
  5375. To: think-c@rdatasys.com
  5376. From: rhartman@dsl2.uoregon.edu (Rick Hartmann)
  5377. Subject: Re: External editors
  5378.  
  5379. Hi,
  5380.  
  5381. Regarding the problem of external editors and Think Project Manager, there
  5382. is a new patch to Think Project Manager; now version 7.0.3.  Check the
  5383. readme file.  It fixes a variety of problems in previous releases.  It is
  5384. being sent to the usual anon FTP sites, online services, and the Symantec
  5385. BBS.  You can also download it from the Symantec Internet site:
  5386. devtools.symantec.com.  This site is just a IIci limited to ten users so
  5387. access is sometimes difficult.  Keep trying.
  5388.  
  5389. Rick
  5390.  
  5391. >From aland@cs.brandeis.edu 22 Jun 94 19:54:36 GMT
  5392. Path: ucivax!gateway
  5393. From: aland@cs.brandeis.edu ("Alan D.")
  5394. Subject: Re: Finder triangles
  5395. Message-ID: <9406221254.aa10530@q2.ics.uci.edu>
  5396. In-Reply-To: <9406220755.aa25243@q2.ics.uci.edu> from "Kevin O'Malley" at Jun 22, 94 02:55:51 pm
  5397. X-Mailer: ELM [version 2.4 PL22]
  5398. Content-Transfer-Encoding: 7bit
  5399. Content-Type: text/plain; charset=US-ASCII
  5400. Content-Length: 246
  5401. MIME-Version: 1.0
  5402. Newsgroups: fa.think-c
  5403. X-Message-ID: <199406221954.PAA03685@goose.cs.brandeis.edu>
  5404. Approved: usenet@q2.ics.uci.edu
  5405. Lines: 9
  5406. Date: 22 Jun 94 19:54:36 GMT
  5407.  
  5408. To quote Kevin O'Malley,
  5409.  
  5410. > Does anyone know of any example code that implements finder
  5411. > triangles?
  5412.  
  5413. Yes; check out the code in DEVELOP 18 (the current issue).  It will
  5414. probably be available from ftp.apple.com at some point...
  5415.  
  5416.           -=Alan
  5417. >From mauricio@mozart.aero.ufl.edu 22 Jun 94 20:11:29 GMT
  5418. Path: ucivax!gateway
  5419. From: mauricio@mozart.aero.ufl.edu (Mauricio Tavares)
  5420. Subject: Random problems
  5421. Message-ID: <9406221311.aa11472@q2.ics.uci.edu>
  5422. X-Mailer: ELM [version 2.3 PL2]
  5423. Newsgroups: fa.think-c
  5424. X-Message-ID: <9406222010.AA09301@mozart.aero.ufl.edu>
  5425. Approved: usenet@q2.ics.uci.edu
  5426. Lines: 8
  5427. Date: 22 Jun 94 20:11:29 GMT
  5428.  
  5429.         How reliable is to use the result from GetDateTime() as a seed to
  5430. the random function?  When I tried to use time (&randSeed) and ask to print
  5431. out randSeed, I get 43565 *always*.  If I use GetDateTime(&randSeed), I get
  5432. 43565.  Isn't that odd?  Is there anything wrong with my compiler (LSC)?
  5433. Am I doing anything wrong?
  5434.  
  5435.  
  5436.  
  5437. >From P.Kay@massey.ac.nz 22 Jun 94 23:18:42 GMT
  5438. Path: ucivax!gateway
  5439. From: P.Kay@massey.ac.nz (Peter Kay)
  5440. Subject: Printer Driver
  5441. X-Sender: PKay@smee.massey.ac.nz
  5442. Message-ID: <9406221618.aa21427@q2.ics.uci.edu>
  5443. Content-Type: text/plain; charset="us-ascii"
  5444. Mime-Version: 1.0
  5445. Newsgroups: fa.think-c
  5446. X-Message-ID: <1996730564@smee.massey.ac.nz>
  5447. Approved: usenet@q2.ics.uci.edu
  5448. Lines: 11
  5449. Date: 22 Jun 94 23:18:42 GMT
  5450.  
  5451. Can someone point me to some source code for a (skeleton) printer driver please?
  5452.  
  5453. I've had a look at the readme file of chucksprinterdriver and am trying to
  5454. get hold of the references it supplies. But a real piece of code would be
  5455. welcome.
  5456.  
  5457. Thanks
  5458.  
  5459. Peter
  5460.  
  5461.  
  5462. >From egriffin@msmail4.hac.com 22 Jun 94 23:44:53 GMT
  5463. Path: ucivax!gateway
  5464. From: egriffin@msmail4.hac.com ("Griffin, Ed E")
  5465. Subject: External Editors (Again)
  5466. Message-ID: <9406221644.aa22614@q2.ics.uci.edu>
  5467. Newsgroups: fa.think-c
  5468. X-Message-ID: <9406222344.AA18455@hac2arpa.hac.com>
  5469. Approved: usenet@q2.ics.uci.edu
  5470. Lines: 24
  5471. Date: 22 Jun 94 23:44:53 GMT
  5472.  
  5473. Hi All,
  5474.  
  5475.      I am having a devil of a time trying to evaluate external editors for
  5476. use with SC/C++. Before telling my saga, I will simply ask if the use of an
  5477. External Editor is really a _fully supported_ feature of Symantec C/C++?
  5478.  
  5479.      I grabbed copies of Alpha 5.87 and BBEdit Demo 2.5 via FTP and tried
  5480. using each in turn as my "Editor Tool".  With both I experienced strange
  5481. crashes, including several instances in which all seemed well except that I
  5482. could NOT Quit from the TPM!!  Many other odd things occured, e.g. Alpha
  5483. twice complained that it could not find the AlphaBits.tcl file and promptly
  5484. died taking my Mac along with it.
  5485.  
  5486.      I have upgraded my original Sym C/C++ version 6.0 software to the latest
  5487. version (7.0.1 TPM and 7.0.2 C/C++ translators), I run Mac OS System 7.0.1 on
  5488. a Mac IIci sporting 12 MBytes of RAM.  I set the memory partitions for Alpha
  5489. to its suggested size, BBEdit to 512K and TPM to 5500K.
  5490.  
  5491.      One comment in passing; ever since the latest "minor" upgrade I have had
  5492. lots of quirky behavior in projects that formerly were as tame as lambs.
  5493. Anyone else feel the same?
  5494.  
  5495.                              Ed Griffin
  5496.                              griffin@hac2arpa.hac.com
  5497. >From siegel@netcom.com 23 Jun 94 03:43:39 GMT
  5498. Path: ucivax!gateway
  5499. From: siegel@netcom.com (Rich Siegel)
  5500. Subject: Re: External Editors (Again)
  5501. Message-ID: <9406222043.aa01481@q2.ics.uci.edu>
  5502. In-Reply-To: <9406221644.aa22614@q2.ics.uci.edu> from "Griffin, Ed E" at Jun 22, 94 11:44:53 pm
  5503. X-Mailer: ELM [version 2.4 PL23]
  5504. Content-Transfer-Encoding: 7bit
  5505. Content-Type: text/plain; charset=US-ASCII
  5506. Content-Length: 1355
  5507. MIME-Version: 1.0
  5508. Newsgroups: fa.think-c
  5509. X-Message-ID: <199406230343.UAA09340@netcom7.netcom.com>
  5510. Approved: usenet@q2.ics.uci.edu
  5511. Lines: 30
  5512. Date: 23 Jun 94 03:43:39 GMT
  5513.  
  5514.  
  5515. >      I am having a devil of a time trying to evaluate external editors for
  5516. > use with SC/C++. Before telling my saga, I will simply ask if the use of an
  5517. > External Editor is really a _fully supported_ feature of Symantec C/C++?
  5518.  
  5519. It is. That doesn't mean that the implementation is bug-free, however.
  5520. Read on...
  5521.  
  5522. >      I grabbed copies of Alpha 5.87 and BBEdit Demo 2.5 via FTP and tried
  5523. > using each in turn as my "Editor Tool".  With both I experienced strange
  5524. > crashes, including several instances in which all seemed well except that I
  5525. > could NOT Quit from the TPM!!  Many other odd things occured, e.g. Alpha
  5526. > twice complained that it could not find the AlphaBits.tcl file and promptly
  5527. > died taking my Mac along with it.
  5528.  
  5529. The problem with Alpha is probably due to a bug in Alpha, not in the
  5530. TPM.  However, the problem with not being able to quit the TPM when
  5531. the external editor is running is a known bug in version 7.0.1 of the
  5532. THINK Project Manager; it's fixed for an upcoming patch.
  5533.  
  5534. The release notes supplied with BBEdit (both the demo and the full
  5535. release) give detailed information on issues relating to the TPM's
  5536. editor interface.
  5537.  
  5538. If you're having other problems (you mention "strange crashes") that
  5539. aren't covered in BBEdit's release notes, it would be helpful if you
  5540. can describe them, so that we can sort out what's going on.
  5541.  
  5542. R.
  5543.  
  5544. >From waldorfm@admina.rferl.org 23 Jun 94 09:10:45 GMT
  5545. Path: ucivax!gateway
  5546. From: waldorfm@admina.rferl.org ("M. Waldorf")
  5547. Subject: text changing and DrawString()
  5548. Content-transfer-encoding: 7BIT
  5549. X-Message-ID: <01HDVO882CK28ZDX6G@AdminA.RFERL.Org>
  5550. Approved: usenet@q2.ics.uci.edu
  5551. Lines: 10
  5552. Date-warning: Date header was inserted by AdminA.RFERL.Org
  5553. Date: 23 Jun 94 09:10:45 GMT
  5554. X-Sender: waldorfm@muvaxb.rferl.org (Unverified)
  5555. Message-ID: <9406230210.aa11259@q2.ics.uci.edu>
  5556. Content-type: text/plain; charset="us-ascii"
  5557. MIME-version: 1.0
  5558. Newsgroups: fa.think-c
  5559.  
  5560.  
  5561. I have a time in seconds countdown, which I draw with DrawString().
  5562. Of course, DrawString won't erase what was previously drawn at that
  5563. position. As a result, the numbers turn to black boxes. I have some
  5564. ideas to avoid this, but I'm not sure how to realize it.
  5565.  
  5566. Markus
  5567.  
  5568.  
  5569.  
  5570. >From jwiggins@lightstream.com 23 Jun 94 17:36:51 GMT
  5571. Path: ucivax!gateway
  5572. From: jwiggins@lightstream.com (John Wiggins (LS TP/414 508-262-1021) )
  5573. Subject: Re: External Editors (Again)
  5574. Message-ID: <9406231036.aa11710@q2.ics.uci.edu>
  5575. In-Reply-To: Your message of "22 Jun 1994 23:44:53 GMT."
  5576.              <9406221644.aa22614@q2.ics.uci.edu>
  5577. Newsgroups: fa.think-c
  5578. X-Message-ID: <9406231736.AA23188@leucrotta.LightStream.COM>
  5579. Approved: usenet@q2.ics.uci.edu
  5580. Lines: 44
  5581. Date: 23 Jun 94 17:36:51 GMT
  5582.  
  5583. Ed & Rich & all:
  5584.  
  5585. I have had similar disappointing results trying to use GNU Emacs
  5586. 18.59 Mac Port 1.14b1, which was done by Marc Parmet at Cornell.  His
  5587. previous Emacs port worked without crashing the Mac for Sym C/C++
  5588. version 6.0.  I tried using the `free' Sym 6.0->7.0.2 updates, and had
  5589. problems similar to those you report.
  5590.  
  5591. Last week, I received the complete commercial upgrade kit.  With the
  5592. (unpatched) commercial kit trying to use with `normal' c code, I get a
  5593. halt
  5594.                 Bus Error at 00A26748 tc_handler+0018
  5595. tc_handler+0018         *MOVE.L         $0004(A0) +0018
  5596.  
  5597. However I seem to be able to run w/o event support (like I did with TC
  5598. ver 6.0). If I run the Emacs without thinkc support, i.e. I comment
  5599. out the `;(load "think-c/think-c")' in the `.emacs' init file.
  5600.  
  5601. NOTE: I don't use Alpha anymore, and don't have BBEdit, but (if they
  5602. support thinkc events) you might want to see if you can run with no
  5603. external ThinkC event support.  I have used Emacs this way, and any
  5604. the only feature I miss is the automatic placement of cursor in the
  5605. editor at "bug" line. (Goto line [num] is easy in Emacs).  Since I use
  5606. GNU Emacs on the SUN, it is a lot easier than leaning new editor
  5607. commands.
  5608.  
  5609. BTW Marc's Emacs port is the first, really complete port of emacs I
  5610. have seen for the Mac, and it is my editor of choice since I want to
  5611. port code back and forth between SUN UNIX workstations and the Mac.  I
  5612. am delighted with this (public domain) port.  I got my copy from
  5613. anonymous ftp to "ftp.cs.cornell.edu:/pub/parmet" Marc provides his LS
  5614. C++ 7 project & source code there, too; presumably he did not have
  5615. problems using Emacs on his machine with the compiler.  I think this
  5616. is a wonderful text editor, and should be on the group's file
  5617. server...
  5618.  
  5619.  
  5620. John
  5621.  
  5622. email: jwiggins@lightstream.com                 John Wiggins, TP/414
  5623.  tele: 508-262-1021                             1100 Technology Park Drive
  5624.   FAX: 508-262-1039                             Billerica, MA 01821
  5625.  
  5626.  
  5627. >From rsg@camtwh.eric.on.ca 23 Jun 94 20:46:11 GMT
  5628. Path: ucivax!gateway
  5629. From: rsg@camtwh.eric.on.ca (Reuben Gellman)
  5630. Subject: Writing XCMD's in ThinkC
  5631. Message-ID: <9406231346.aa22352@q2.ics.uci.edu>
  5632. X-Mailer: ELM [version 2.4 PL22]
  5633. Content-Transfer-Encoding: 7bit
  5634. Content-Type: text/plain; charset=US-ASCII
  5635. Content-Length: 1152
  5636. MIME-Version: 1.0
  5637. Newsgroups: fa.think-c
  5638. X-Message-ID: <94Jun23.164729edt.29223@camtwh.eric.on.ca>
  5639. Approved: usenet@q2.ics.uci.edu
  5640. Lines: 41
  5641. Date: 23 Jun 94 20:46:11 GMT
  5642.  
  5643. Hello:
  5644. I'm trying to write my 1st xcmd (I've done some application
  5645. writing and some hypercard scripting before) and it's not working as
  5646. expected. Using TC 5.0 (really!) I set project type to code resource, type
  5647. XCMD, gave it an ID and a name. After compiling I did a "build code resrc"
  5648. and I got what I expected. I used ResEdit to install the rsrc in my stack,
  5649. which ran correctly, in that it called my xcmd. However, something odd
  5650. happened ... First, the code (very brief, and seeingly pointless: the
  5651. goal is to draw something more complex than indicated very FAST on card;
  5652. faster than HC does):
  5653.  
  5654. #include "HyperXCmd.h"
  5655. pascal void
  5656. main(register XCmdPtr paramPtr)
  5657. {
  5658.         GrafPtr port;
  5659.         short   x, y;
  5660.  
  5661.         GetPort(&port);
  5662.         x = 200;
  5663.         y = 200;
  5664.         MoveTo(x, y);
  5665.         LineTo(400, 200);
  5666.         MoveTo(x, y);
  5667.         LineTo(200, 300);
  5668.         LineTo(400, 300);
  5669. }
  5670.  
  5671. Well, it draws as expected, but as soon as another HC command
  5672. touches the card (e.g, choosing a paint tool, even), my xcmd's
  5673. drawing disappears.
  5674.  
  5675. I'm sure I'm doing something dumb. DOn't have much documentation, any
  5676. help will be appreciated.
  5677.  
  5678. BTW: I load 2 libs: Mactraps & HyperXLib.
  5679.  
  5680. Thanks,
  5681. Reuben  Gellman
  5682. rsg@eric.on.ca
  5683.  
  5684. >From hs47+@andrew.cmu.edu 24 Jun 94 13:33:31 GMT
  5685. Path: ucivax!gateway
  5686. From: hs47+@andrew.cmu.edu (Hong Shi)
  5687. Subject: Scroll window?
  5688. Message-ID: <9406240633.aa10127@q2.ics.uci.edu>
  5689. Newsgroups: fa.think-c
  5690. X-Message-ID: <Mi2i0we00Uh7E1p1pj@andrew.cmu.edu>
  5691. Approved: usenet@q2.ics.uci.edu
  5692. Lines: 76
  5693. Date: 24 Jun 94 13:33:31 GMT
  5694.  
  5695. I have a program (mostly from Macintosh Revealed), which should scroll
  5696. the window when the mouse is pressed in the scrollbar. But it doesn't
  5697. work properly, and I cannot think of any errors here, could anybody help
  5698. me?
  5699. The piece of code is this:
  5700.  
  5701. **************************************
  5702. void    DoScroll(thePart, thePoint)
  5703. int             thePart;
  5704. Point   thePoint;
  5705. {
  5706.         int             newPart;
  5707.  
  5708.         if (thePart == inThumb)
  5709.         {
  5710.                 newPart = TrackControl(TheScrollBar, thePoint, NULL);
  5711.                 AdjustText();
  5712.         }else
  5713. /* whenever I press the mouse in the scrollbar and not in the scroll
  5714. box, it branches to here, and I always got a bus error. I couldn't trace
  5715. into TrackControl and see what's wrong. */
  5716.                 newPart = TrackControl(TheScrollBar, thePoint, &ScrollText);
  5717. }
  5718.  
  5719.  
  5720. void    ScrollText(ControlHandle theControl, int thePart)
  5721. {
  5722.         int     delta, oldValue;
  5723.  
  5724.         switch (thePart)
  5725.         {
  5726.                 case inUpButton:
  5727.                         delta = -1;
  5728.                         break;
  5729.  
  5730.                 case inDownButton:
  5731.                         delta = 1;
  5732.                         break;
  5733.  
  5734.                 inPageUp:
  5735.                         delta = ((*TheText)->viewRect.top - (*TheText)->viewRect.bottom)
  5736.                                 / (*TheText)->lineHeight +1;
  5737.                         break;
  5738.  
  5739.                 inPageDown:
  5740.                         delta = ((*TheText)->viewRect.top - (*TheText)->viewRect.bottom)
  5741.                                 / (*TheText)->lineHeight -1;
  5742.                         break;
  5743.         }
  5744.  
  5745.         if (thePart != 0)
  5746.         {
  5747.                 oldValue = GetCtlValue(theControl);
  5748.                 SetCtlValue(theControl, oldValue + delta);
  5749.  
  5750.                 AdjustText();
  5751.         }
  5752. }
  5753.  
  5754.  
  5755.  
  5756. void    AdjustText()
  5757. {
  5758.         int     oldScroll, newScroll;
  5759.  
  5760.         HLock((Handle)TheText);
  5761.  
  5762.         oldScroll = (*TheText)->viewRect.top - (*TheText)->destRect.top;
  5763.         newScroll = GetCtlValue(TheScrollBar) * (*TheText)->lineHeight;
  5764.  
  5765.         TEScroll(0, (oldScroll - newScroll), TheText);
  5766.  
  5767.         HUnlock((Handle) TheText);
  5768. }
  5769.  
  5770.  
  5771. >From pindar3@cix.compulink.co.uk 24 Jun 94 13:58:34 GMT
  5772. Path: ucivax!gateway
  5773. From: pindar3@cix.compulink.co.uk (Pindar Infotek Ltd)
  5774. Subject: 'GCP not re-entrent'?
  5775. Message-ID: <9406240658.aa10640@q2.ics.uci.edu>
  5776. Newsgroups: fa.think-c
  5777. Reply-To: pindar3@cix.compulink.co.uk
  5778. X-Message-ID: <memo.474815@cix.compulink.co.uk>
  5779. Approved: usenet@q2.ics.uci.edu
  5780. Lines: 26
  5781. Date: 24 Jun 94 13:58:34 GMT
  5782.  
  5783.  
  5784. >From Pindar user Ian McCall
  5785.  
  5786. Subject: _'GCP not re-entrent'?
  5787. Hello.
  5788.  
  5789. I'm having problems running Symentec C/C++ v7 on a Mac IIcx. When
  5790. compiling, the compiler very often brings up the low-level debugger
  5791. (in our case, Macsbug) with the message 'You fool! GCP is not
  5792. re-entrent'.
  5793.  
  5794. Telling the application to continue executing brings up a host of
  5795. similar messages, each with a different procedure name.
  5796.  
  5797. Any ideas? I've also sent this message along to Symantec's language
  5798. support.
  5799.  
  5800. Thanks in advance for any information,
  5801. Ian
  5802.  
  5803.  
  5804.  
  5805. ---
  5806. Please make 'Attn:<space>Ian McCall' the first line of your reply
  5807. (not the subject) to ensure automatic forwarding to the correct
  5808. Pindar user.
  5809. >From ribtm@ttacs1.ttu.edu 24 Jun 94 18:37:39 GMT
  5810. Path: ucivax!gateway
  5811. From: ribtm@ttacs1.ttu.edu (Greg Vaughn)
  5812. Subject: Here we go again - updater problems
  5813. Message-ID: <9406241137.aa23485@q2.ics.uci.edu>
  5814. Content-transfer-encoding: 7BIT
  5815. Content-type: text/plain; charset="us-ascii"
  5816. MIME-version: 1.0
  5817. Newsgroups: fa.think-c
  5818. X-Message-ID: <01HDX7N28JV69KO3OS@ttacs.ttu.edu>
  5819. Approved: usenet@q2.ics.uci.edu
  5820. Lines: 23
  5821. Date: 24 Jun 94 18:37:39 GMT
  5822.  
  5823. Well, in case you haven't heard there is a new updater for SC++. I don't
  5824. know about TC, but I think there's one for that too. They've been sent to
  5825. macgifts, but so far they haven't arrived so as far as I know they're only
  5826. available at the Symantec site right now (devtools.symantec.com).
  5827.  
  5828. Anyway, I got everything working but the SC++ translator patch. I haven't
  5829. done anything in C++ since the last update, so I would guess that the SC++
  5830. translator would still be a pristine copy. The patch complained it couldn't
  5831. find the CAND 2 resource. Well, I jumped into ResEdit and sure enough,
  5832. there wasn't one, so I copied the only CAND there was (id 3) and made a
  5833. CAND 2. Then when I tried applying the patch, it complained that the info
  5834. in CAND 3 wasn't what it should be.
  5835.  
  5836. Any ideas? Has anyone gotten this working yet?
  5837.  
  5838.  
  5839.  ______                 | Greg Vaughn
  5840. /\__  _\                | Physics Grad Student, Insulator Research Lab
  5841. \/_/\ \/ exas           | Finger: greg@scm41-2.phys.ttu.edu
  5842.    \ \_\ ech University | E-Mail: ribtm@ttacs.ttu.edu or
  5843.     \/_/ Lubbock, Texas |         greg-vaughn@unicorn.acs.ttu.edu
  5844.  
  5845.  
  5846. >From tslater@crl.nmsu.edu Sun, 26 Jun 1994 17:42:47 -0600
  5847. Return-Path: tslater@crl.nmsu.edu 
  5848. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id QAA13905 for <think-c@rdatasys.com>; Sun, 26 Jun 1994 16:42:57 -0700
  5849. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.9) id QAA11489 for <think-c@rdatasys.com>; Sun, 26 Jun 1994 16:42:52 -0700
  5850. Received: from dns1.nmsu.edu(128.123.3.5) by lionfish.rdatasys.com via smap (V1.3mjr)
  5851.         id sma011487; Sun Jun 26 16:42:50 1994
  5852. Received: from crl.nmsu.edu by NMSU.Edu (8.6.8.1/NMSU-1.18)
  5853.         id RAA25833; Sun, 26 Jun 1994 17:42:47 -0600
  5854. Date: Sun, 26 Jun 1994 17:42:47 -0600
  5855. Message-Id: <199406262342.RAA25833@NMSU.Edu>
  5856. Received: by crl.nmsu.edu (4.1/SMI-4.1)
  5857.         id AA07405; Sun, 26 Jun 94 17:42:44 MDT
  5858. From: tslater@crl.nmsu.edu (Ted Slater)
  5859. To: think-c@rdatasys.com
  5860. Subject: Object I/O with CStyleText
  5861.  
  5862. Hi All,
  5863.  
  5864. Can anyone supply me with a detailed example of how to implement
  5865. Object I/O for saving and reading a CStyleText object? Maybe even just
  5866. a CEditText example would help, but I'd rather see one for CStyleText.
  5867. Anyway, I've asked nearly everyone I could think of for help and have
  5868. been disappointed at every turn. And it's very important!! 8-]
  5869.  
  5870. Thanks!
  5871. Ted
  5872. >From msandri@netcom.com Thu Jun 30 16:59:58 PDT 1994
  5873. Received: from lionfish.rdatasys.com (uucp@lionfish.rdatasys.com [198.232.168.1]) by wahoo.rdatasys.COM (8.6.9/8.6.9) with ESMTP id QAA08670 for <think-c@rdatasys.com>; Thu, 30 Jun 1994 16:59:56 -0700
  5874. Received: (from uucp@localhost) by lionfish.rdatasys.com (8.6.9/8.6.9) id QAA15948 for <think-c@rdatasys.com>; Thu, 30 Jun 1994 16:59:54 -0700
  5875. Received: from netcom.netcom.com(192.100.81.100) by lionfish.rdatasys.com via smap (V1.3mjr)
  5876.         id sma015946; Thu Jun 30 16:59:03 1994
  5877. Received: by netcom.netcom.com (8.6.8.1/Netcom)
  5878.         id QAA23167; Thu, 30 Jun 1994 16:59:20 -0700
  5879. From: msandri@netcom.com (Marco Sandri)
  5880. Message-Id: <199406302359.QAA23167@netcom.netcom.com>
  5881. Subject: Current selection
  5882. To: think-c@rdatasys.com (thinkList)
  5883. Date: Thu, 30 Jun 1994 16:59:19 -0700 (PDT)
  5884. Reply-To: msandri@netcom.com (Marco Sandri)
  5885. X-Mailer: ELM [version 2.4 PL23]
  5886. MIME-Version: 1.0
  5887. Content-Type: text/plain; charset=US-ASCII
  5888. Content-Transfer-Encoding: 7bit
  5889. Content-Length: 641       
  5890.  
  5891. Hi,
  5892.  
  5893. I'm writing an INIT that should get (copy into the scrap) the current text
  5894. selection.
  5895. The problem is, I'm patching TESetSelect to get the TEHandle of the most
  5896. recent selection; this works fairly good when the frontmost application uses
  5897. standard Text Edit, but many apps use their own TextEdit (to break the 32K
  5898. barrier...)
  5899. Any idea?
  5900.  
  5901. Many thanks in advance.
  5902. Marco
  5903.  
  5904. ============================================================
  5905.   Marco Sandri                | "Nothing is impossible,
  5906.   msandri@netcom.com          |  if you don't have to do it"
  5907.   sandri@cadlab.systemy.org   |
  5908. ============================================================
  5909. >From ishizaki@trl.ibm.co.jp 27 Jun 94 07:24:17 GMT
  5910. Path: ucivax!gateway
  5911. From: ishizaki@trl.ibm.co.jp (ISHIZAKI Kazuaki)
  5912. Subject: Re: 'GCP not re-entrent'?
  5913. Message-ID: <9406270024.aa23168@q2.ics.uci.edu>
  5914. In-Reply-To: Your message of "24 Jun 1994 13:58:34 GMT."
  5915.              <9406240658.aa10640@q2.ics.uci.edu>
  5916. Content-Type: text/plain; charset=US-ASCII
  5917. Mime-Version: 1.0
  5918. Newsgroups: fa.think-c
  5919. X-Message-ID: <9406270723.AA46887@ns.trl.ibm.com>
  5920. Approved: usenet@q2.ics.uci.edu
  5921. Lines: 21
  5922. Date: 27 Jun 94 07:24:17 GMT
  5923.  
  5924.  
  5925. >From Pindar user Ian McCall
  5926.  
  5927. pindar3> I'm having problems running Symentec C/C++ v7 on a Mac IIcx. When
  5928. pindar3> compiling, the compiler very often brings up the low-level debugger
  5929. pindar3> (in our case, Macsbug) with the message 'You fool! GCP is not
  5930. pindar3> re-entrent'.
  5931.  
  5932.   I use Symantec C/C++ v7 on SE/30 with 8MB RAM.
  5933.  
  5934.   I'm having same problem, too. When RamDoubler 1.03(1.0,1,02 as same)
  5935. is installed, I often have the problem.
  5936.  
  5937.   What means this message ?  Any information ?
  5938.  
  5939. Regards,
  5940. Kazuaki Ishizaki
  5941.  
  5942. IBM Japan, Tokyo Research Laboratory
  5943. Mail : ishizaki@trl.ibm.co.jp, ishizaki@vnet.ibm.com
  5944. TEL  : ++81-462-73-4664
  5945. >From hs47+@andrew.cmu.edu 30 Jun 94 14:27:19 GMT
  5946. Path: ucivax!gateway
  5947. From: hs47+@andrew.cmu.edu (Hong Shi)
  5948. Subject: Internal error(ZREF)?
  5949. Message-ID: <9406300727.aa07592@q2.ics.uci.edu>
  5950. Newsgroups: fa.think-c
  5951. X-Message-ID: <si4hLAm00iUz02GIpG@andrew.cmu.edu>
  5952. Approved: usenet@q2.ics.uci.edu
  5953. Lines: 12
  5954. Date: 30 Jun 94 14:27:19 GMT
  5955.  
  5956. While I was compiling my program, I got the message which said there's
  5957. an internal error (ZREF) and asked me to remove objects, I did this and
  5958. compiled again, same thing. The manual said this will never occur. But...
  5959. Now I can still run my program without using debugger and I can still
  5960. build application. But without debugger in the coding stage is bad. Does
  5961. anybody have this experience? Oh, I am using Symantec C++ 6.0 on centris
  5962. 650 with system 7.1. This problem occurs only when I want to run the
  5963. pragram with debugger.
  5964. Thanks ahead,
  5965.  
  5966. Hong
  5967.  
  5968. >From 11611723@wsuvm1.csc.wsu.edu 30 Jun 94 17:47:36 GMT
  5969. Path: ucivax!gateway
  5970. From: 11611723@wsuvm1.csc.wsu.edu (Brandon)
  5971. Subject: help
  5972. Message-ID: <9406301047.aa16844@q2.ics.uci.edu>
  5973. Newsgroups: fa.think-c
  5974. X-Message-ID: <9406301047.aa16844@q2.ics.uci.edu>
  5975. Approved: usenet@q2.ics.uci.edu
  5976. Lines: 25
  5977. Date: 30 Jun 94 17:47:36 GMT
  5978.  
  5979. Dear netter;
  5980.   Could someone give me some help, please? I am trying to teach myself Think C
  5981. and I have working from the Macintosh Programming Primer II. I entered the
  5982. program FormEdit.c. I have a line of code in two different spot that produce
  5983. an error of Illegal pointer arithmetic. Here is some of the code:
  5984.  
  5985. TEHandle     te;
  5986. WindowPtr    window;
  5987. int          wType, length, i;
  5988. CharsHandle  text;
  5989. Str255       tempStr;
  5990. FormPeek     form;
  5991.  
  5992. code, code, code, etc
  5993. ....
  5994. ...
  5995.              for( i=0; ( (i<length) && (i<256) ); i++)
  5996.                  tempStr[ i+1 ] = (*text)[ i ];    /* the problem line */
  5997. ....
  5998. ...
  5999.  
  6000. Thanks you for any help you can provide.
  6001. Brandon Burch
  6002. 11611723@wsuvm1.csc.wsu.edu
  6003. bburch@eecs.wsu.edu
  6004. ------------------------------ Cut here ------------------------------
  6005.